This might very well be the smallest and simplest Github repository.
Nevertheless...
It is nothing more than a simple wrapper around HttpContext via IHttpContextAccessor exposing Get, Set and Delete methods for simple cookie management.
Use the extension method like this:
services.AddCookieManagement();
Install from Nuget
Install-Package ctorx.Core.AspNet.Cookies
ctorx.Core.AspNet.Cookies is copyright © 2022 Matthew Marksbury and other contributors under the MIT license.