{"id":"a7ad7997-56e6-4e31-8ee9-6b5b1868f7a4","slug":"clawhub-psyb0t-servicepack","name":"servicepack","description":"Build a Go service on psyb0t/servicepack — clone-and-own framework (not a `go get` library) providing a Service interface (Name/Run/Stop), a singleton ServiceManager that runs services concurrently with dependency-ordered topological start, automatic retry (Retryable), non-fatal failures (AllowedFailure), readiness gating (ReadyNotifier), per-service CLI subcommands (Commander), an App singleton with OnPreRun/OnPostStop lifecycle hooks, gofindimpl-based service auto-discovery codegen, ctxscope/slogging structured logging, and a graceful-shutdown Runner. Import path github.com/psyb0t/servicepack. Use when the user wants related Go services debugged together locally, then deployed as one binary or split into separate microservices, with retry/dependency/readiness semantics.","canonicalUrl":"https://www.xpersona.co/agent/clawhub-psyb0t-servicepack","sourceUrl":"https://clawhub.ai/psyb0t/servicepack","homepage":"https://clawhub.ai/psyb0t/skills/servicepack","source":"CLAWHUB","vendor":{"slug":"clawhub","label":"Clawhub","url":"https://clawhub.ai/psyb0t/skills/servicepack"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":"1.9.4","freshnessAt":"2026-10-10T03:33:02.177Z","freshnessLabel":"Oct 10, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Oct 10, 2026"},{"label":"Vendor","value":"Clawhub"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"1.9.4"}],"factsPreview":[{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Clawhub","href":"https://clawhub.ai/psyb0t/skills/servicepack","sourceUrl":"https://clawhub.ai/psyb0t/skills/servicepack","sourceType":"profile","confidence":"medium","observedAt":"2026-10-10T03:33:02.177Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://www.xpersona.co/api/v1/agents/clawhub-psyb0t-servicepack/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-psyb0t-servicepack/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-10-10T03:33:02.177Z","isPublic":true},{"factKey":"traction","category":"adoption","label":"Adoption signal","value":"1.7K downloads","href":"https://clawhub.ai/psyb0t/servicepack","sourceUrl":"https://clawhub.ai/psyb0t/servicepack","sourceType":"profile","confidence":"medium","observedAt":"2026-10-10T03:33:02.177Z","isPublic":true},{"factKey":"latest_release","category":"release","label":"Latest release","value":"1.9.4","href":"https://clawhub.ai/psyb0t/servicepack","sourceUrl":"https://clawhub.ai/psyb0t/servicepack","sourceType":"release","confidence":"medium","observedAt":"2026-10-10T00:49:15.196Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://www.xpersona.co/api/v1/agents/clawhub-psyb0t-servicepack/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-psyb0t-servicepack/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["1.7K downloads","Trust evidence available"],"agentCard":{"name":"servicepack","description":"Build a Go service on psyb0t/servicepack — clone-and-own framework (not a `go get` library) providing a Service interface (Name/Run/Stop), a singleton ServiceManager that runs services concurrently with dependency-ordered topological start, automatic retry (Retryable), non-fatal failures (AllowedFailure), readiness gating (ReadyNotifier), per-service CLI subcommands (Commander), an App singleton with OnPreRun/OnPostStop lifecycle hooks, gofindimpl-based service auto-discovery codegen, ctxscope/slogging structured logging, and a graceful-shutdown Runner. Import path github.com/psyb0t/servicepack. Use when the user wants related Go services debugged together locally, then deployed as one binary or split into separate microservices, with retry/dependency/readiness semantics.","source":"CLAWHUB","sourceId":"clawhub:s17fq93tmpky791n7516jcn08n83sfn2:servicepack","homepage":"https://clawhub.ai/psyb0t/skills/servicepack","repository":"https://clawhub.ai/psyb0t/servicepack","documentation":"https://www.xpersona.co/agent/clawhub-psyb0t-servicepack","protocols":["OPENCLEW"],"examples":[{"kind":"example","language":"bash","snippet":"git clone https://github.com/psyb0t/servicepack\ncd servicepack\nmake own MODNAME=github.com/yourname/yourproject\nmake service NAME=my-worker"},{"kind":"example","language":"go","snippet":"package myworker\n\nimport (\n\t\"context\"\n\n\t\"github.com/psyb0t/ctxerrors\"\n\t\"github.com/psyb0t/ctxscope\"\n\t\"github.com/psyb0t/gonfiguration\"\n)\n\nconst ServiceName = \"my-worker\"\n\ntype Config struct {\n\tValue string `env:\"MYWORKER_VALUE\" default:\"default-value\"`\n}\n\ntype MyWorker struct {\n\tconfig Config\n}\n\nfunc New() (*MyWorker, error) {\n\tcfg := Config{}\n\n\tif err := gonfiguration.Parse(&cfg); err != nil {\n\t\treturn nil, ctxerrors.Wrap(err, \"parse my-worker config\")\n\t}\n\n\treturn &MyWorker{config: cfg}, nil\n}\n\nfunc (s *MyWorker) Name() string {\n\treturn ServiceName\n}\n\nfunc (s *MyWorker) Run(ctx context.Context) error {\n\tctx = ctxscope.Set(ctx, ctxscope.Attr(\"service\", ServiceName))\n\tlogger := ctxscope.GetLogger(ctx)\n\tlogger.Info(\"starting service\")\n\n\t<-ctx.Done()\n\tlogger.Info(\"service context cancelled\")\n\n\treturn nil\n}\n\nfunc (s *MyWorker) Stop(ctx context.Context) error {\n\tserviceCtx := ctxscope.Set(ctx, ctxscope.Attr(\"service\", ServiceName))\n\tctxscope.GetLogger(serviceCtx).Info(\"stopping service\")\n\n\treturn nil\n}"}]}}