[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CND5Y6BXSB26V2WNH8CDVH":3,"skill-same:01M6CND5Y6BXSB26V2WNH8CDVH":86},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6CND5Y6BXSB26V2WNH8CDVH","cg",null,"Use when a local agent needs to dispatch work to CommonGround, inspect turn or agent state, wait for a turn to close, or resume a suspended turn through the `cg` CLI instead of calling the CG HTTP API directly.","Intelligent-Internet\u002FCommonGround","Intelligent-Internet","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F173073912?v=4","01M6CNCXBXDVSZA0KVBDXQ73HF","01M6CNCXFXKFTQBJ3YW5QGXPXE",153,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FIntelligent-Internet\u002FCommonGround\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fcg\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27],"cli","http","state","api","wait for","work","use","dispatch","resume","calling","2026-11-10 10:12:30",false,"---\nname: cg\ndescription: Use when a local agent needs to dispatch work to CommonGround, inspect turn or agent state, wait for a turn to close, or resume a suspended turn through the `cg` CLI instead of calling the CG HTTP API directly.\nmetadata: {\"nanobot\":{\"requires\":{\"bins\":[\"cg\"]}}}\n---\n\n# CG Skill\n\nUse the local `cg` CLI as the stable CommonGround interaction surface.\n\nIf `cg` is not available on `PATH`, stop and fix the local CLI setup. Do not fall back to direct HTTP calls.\n\nThe host should provide CommonGround auth through CLI-managed profiles. Legacy direct Agent credential env\u002Fconfig may exist for operators, but prompt-level skills should prefer `--profile` and must not read credential tokens.\nDo not write credential tokens into request payloads, prompts, semantic records, or skill notes.\n\nFor open-source local demos, assume the operator has already prepared the default project `cg-demo`. If `cg profile ensure-agent` returns `project_not_seeded`, `project_bootstrap_conflict`, `admin_service_credential_required`, or `profile_auth_required`, stop and report the setup error. Do not try to repair project setup from the skill.\n\nIf the local CLI config or profile is missing, do not inspect token files or run setup commands. Ask the user\u002Foperator for the non-secret client connection facts needed to run `cg`: project id, agent id\u002Fprofile, CommonGround service URL, Admin Service URL, and either an already prepared Admin Service bearer token file path or confirmation that the operator has written those values into CLI config. Never ask for a bearer token value in chat.\n\n## Allowed commands\n\n- `cg dispatch`\n- `cg turn get`\n- `cg turn context`\n- `cg turn wait`\n- `cg turn resume`\n- `cg agent get`\n- `cg profile ensure-agent`\n- `cg report work-memory`\n\nWhen the task explicitly requires project-level discovery before choosing a CommonGround target, the skill may also use:\n\n- `cg project agent list`\n- `cg project offer list`\n- `cg project offer get`\n\n## Forbidden commands\n\n- `cg setup project seed`\n- `cg setup project status`\n- `cg setup project client-config`\n- `cg kernel`\n- `cg worker claim next`\n- `cg worker claim renew`\n- `cg worker claim run`\n- `cg worker claim append`\n- `cg worker claim finish`\n- `cg worker claim dispatch-child`\n- `cg worker claim suspend`\n- direct `curl` calls to CommonGround HTTP API\n- direct `curl` calls to CommonGround Admin Service API\n- direct database or `PG_DSN` setup commands\n- reading credential token files directly\n\n## Rules\n\n- Write request payloads to a JSON file first, then call `cg ... --payload-file \u003Cpath>`.\n- Read only the JSON envelope from `stdout`.\n- On failure, inspect `error.code` and `error.message`.\n- Treat `stderr` as non-contract logging.\n- If the failure indicates missing client config, profile, service URL, or Admin Service auth, ask for the missing client connection facts; do not ask for token contents.\n- `cg turn wait` is only for waiting until the turn reaches terminal `closed`.\n- Do not treat `suspended` as terminal completion.\n- Use `cg turn resume` only for explicit external approval or operator resume flows.\n- Use `result.final_record_role` and `result.final_payload` as the terminal result fields.\n- Do not infer final truth from intermediate semantic records.\n- Do not call `cg worker` for prompt-level interaction logic.\n- Do not call `cg setup` or `cg kernel`; project setup is an operator-only local action, not a prompt-level skill action.\n- Before dispatching to another agent, use project offer\u002Fagent discovery when the target is not already known. If no suitable CommonGround offer exists, report that CG delegation is unavailable rather than silently falling back to native subagents.\n- Do not call `curl` against the CommonGround HTTP API when `cg` covers the operation.\n- When reporting work memory, write the manifest to a JSON file and use `cg report work-memory --manifest-file \u003Cpath>`.\n- Do not put claim tokens, registration credentials, or top-level `meta` into a work-memory manifest.\n- Use a higher-level workflow skill such as `cg-work-memory` when you need stricter work-memory manifest guidance; this base skill only defines the CLI safety contract.\n\n## Examples\n\nDispatch work:\n\n```bash\ncg dispatch \\\n  --project-id cg-demo \\\n  --requested-by frontside \\\n  --target-agent nanobot \\\n  --turn-kind turn.conversation.v1 \\\n  --request-id req-123 \\\n  --payload-file \u002Ftmp\u002Fcg-payload.json\n```\n\nWait for terminal close:\n\n```bash\ncg turn wait \\\n  --project-id cg-demo \\\n  --turn-id T-123 \\\n  --timeout-seconds 120 \\\n  --poll-interval-ms 500\n```\n\nRead status:\n\n```bash\ncg turn get --project-id cg-demo --turn-id T-123\ncg turn context --project-id cg-demo --turn-id T-123\ncg agent get --project-id cg-demo --agent-id nanobot\ncg project agent list --project-id cg-demo\ncg project offer list --project-id cg-demo\ncg project offer get --project-id cg-demo --agent-id nanobot --turn-kind turn.conversation.v1\n```\n\nResume a suspended turn:\n\n```bash\ncg turn resume --project-id cg-demo --turn-id T-123 --requested-by operator\n```\n\nEnsure a local Agent profile:\n\n```bash\ncg profile ensure-agent \\\n  --profile cg-demo\u002Flocal-agent \\\n  --project-id cg-demo \\\n  --requested-agent-id local-agent \\\n  --runtime-kind codex.local.v1 \\\n  --display-name \"Local Agent\"\n```\n\nReport local work memory:\n\n```bash\ncg report work-memory \\\n  --profile cg-demo\u002Flocal-agent \\\n  --project-id cg-demo \\\n  --agent-id local-agent \\\n  --manifest-file \u002Ftmp\u002Fwork-memory-report.json\n```\n","# CG Skill\n\nUse the local `cg` CLI as the stable CommonGround interaction surface.\n\nIf `cg` is not available on `PATH`, stop and fix the local CLI setup. Do not fall back to direct HTTP calls.\n\nThe host should provide CommonGround auth through CLI-managed profiles. Legacy direct Agent credential env\u002Fconfig may exist for operators, but prompt-level skills should prefer `--profile` and must not read credential tokens.\nDo not write credential tokens into request payloads, prompts, semantic records, or skill notes.\n\nFor open-source local demos, assume the operator has already prepared the default project `cg-demo`. If `cg profile ensure-agent` returns `project_not_seeded`, `project_bootstrap_conflict`, `admin_service_credential_required`, or `profile_auth_required`, stop and report the setup error. Do not try to repair project setup from the skill.\n\nIf the local CLI config or profile is missing, do not inspect token files or run setup commands. Ask the user\u002Foperator for the non-secret client connection facts needed to run `cg`: project id, agent id\u002Fprofile, CommonGround service URL, Admin Service URL, and either an already prepared Admin Service bearer token file path or confirmation that the operator has written those values into CLI config. Never ask for a bearer token value in chat.\n\n## Allowed commands\n\n- `cg dispatch`\n- `cg turn get`\n- `cg turn context`\n- `cg turn wait`\n- `cg turn resume`\n- `cg agent get`\n- `cg profile ensure-agent`\n- `cg report work-memory`\n\nWhen the task explicitly requires project-level discovery before choosing a CommonGround target, the skill may also use:\n\n- `cg project agent list`\n- `cg project offer list`\n- `cg project offer get`\n\n## Forbidden commands\n\n- `cg setup project seed`\n- `cg setup project status`\n- `cg setup project client-config`\n- `cg kernel`\n- `cg worker claim next`\n- `cg worker claim renew`\n- `cg worker claim run`\n- `cg worker claim append`\n- `cg worker claim finish`\n- `cg worker claim dispatch-child`\n- `cg worker claim suspend`\n- direct `curl` calls to CommonGround HTTP API\n- direct `curl` calls to CommonGround Admin Service API\n- direct database or `PG_DSN` setup commands\n- reading credential token files directly\n\n## Rules\n\n- Write request payloads to a JSON file first, then call `cg ... --payload-file \u003Cpath>`.\n- Read only the JSON envelope from `stdout`.\n- On failure, inspect `error.code` and `error.message`.\n- Treat `stderr` as non-contract logging.\n- If the failure indicates missing client config, profile, service URL, or Admin Service auth, ask for the missing client connection facts; do not ask for token contents.\n- `cg turn wait` is only for waiting until the turn reaches terminal `closed`.\n- Do not treat `suspended` as terminal completion.\n- Use `cg turn resume` only for explicit external approval or operator resume flows.\n- Use `result.final_record_role` and `result.final_payload` as the terminal result fields.\n- Do not infer final truth from intermediate semantic records.\n- Do not call `cg worker` for prompt-level interaction logic.\n- Do not call `cg setup` or `cg kernel`; project setup is an operator-only local action, not a prompt-level skill action.\n- Before dispatching to another agent, use project offer\u002Fagent discovery when the target is not already known. If no suitable CommonGround offer exists, report that CG delegation is unavailable rather than silently falling back to native subagents.\n- Do not call `curl` against the CommonGround HTTP API when `cg` covers the operation.\n- When reporting work memory, write the manifest to a JSON file and use `cg report work-memory --manifest-file \u003Cpath>`.\n- Do not put claim tokens, registration credentials, or top-level `meta` into a work-memory manifest.\n- Use a higher-level workflow skill such as `cg-work-memory` when you need stricter work-memory manifest guidance; this base skill only defines the CLI safety contract.\n\n## Examples\n\nDispatch work:\n\n```bash\ncg dispatch \\\n  --project-id cg-demo \\\n  --requested-by frontside \\\n  --target-agent nanobot \\\n  --turn-kind turn.conversation.v1 \\\n  --request-id req-123 \\\n  --payload-file \u002Ftmp\u002Fcg-payload.json\n```\n\nWait for terminal close:\n\n```bash\ncg turn wait \\\n  --project-id cg-demo \\\n  --turn-id T-123 \\\n  --timeout-seconds 120 \\\n  --poll-interval-ms 500\n```\n\nRead status:\n\n```bash\ncg turn get --project-id cg-demo --turn-id T-123\ncg turn context --project-id cg-demo --turn-id T-123\ncg agent get --project-id cg-demo --agent-id nanobot\ncg project agent list --project-id cg-demo\ncg project offer list --project-id cg-demo\ncg project offer get --project-id cg-demo --agent-id nanobot --turn-kind turn.conversation.v1\n```\n\nResume a suspended turn:\n\n```bash\ncg turn resume --project-id cg-demo --turn-id T-123 --requested-by operator\n```\n\nEnsure a local Agent profile:\n\n```bash\ncg profile ensure-agent \\\n  --profile cg-demo\u002Flocal-agent \\\n  --project-id cg-demo \\\n  --requested-agent-id local-agent \\\n  --runtime-kind codex.local.v1 \\\n  --display-name \"Local Agent\"\n```\n\nReport local work memory:\n\n```bash\ncg report work-memory \\\n  --profile cg-demo\u002Flocal-agent \\\n  --project-id cg-demo \\\n  --agent-id local-agent \\\n  --manifest-file \u002Ftmp\u002Fwork-memory-report.json\n```\n",{"name":5,"metadata":33,"description":7},{"nanobot":34},{"requires":35},{"bins":36},[5],"main","10b50ddb0fb4f0d5b4a58e841d6f40b52a3cbd5b","examples\u002Fskills\u002Fcg",21,"https:\u002F\u002Fgithub.com\u002FIntelligent-Internet\u002FCommonGround","https:\u002F\u002Fgithub.com\u002FIntelligent-Internet","https:\u002F\u002Fii.inc\u002F","First Principles Sovereign AI","2026-05-20 19:33:59",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add Intelligent-Internet\u002FCommonGround --skill cg",{"tool":52,"command":53},"bunx","bunx skills add Intelligent-Internet\u002FCommonGround --skill cg",{"tool":55,"command":56},"pnpm","pnpm dlx skills add Intelligent-Internet\u002FCommonGround --skill cg","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FIntelligent-Internet\u002FCommonGround\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fcg\u002FSKILL.md",true,[60,66,70,74,78,82],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"README.md","REFERENCE","参考文档",1709,"https:\u002F\u002Fgithub.com\u002FIntelligent-Internet\u002FCommonGround\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fcg\u002FREADME.md",{"path":67,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fartifacts.md",13425,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fweights-and-biases\u002Freferences\u002Fartifacts.md",{"path":71,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fhyperparameter-sweeps.md",2204,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fweights-and-biases\u002Freferences\u002Fhyperparameter-sweeps.md",{"path":75,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fintegration-examples.md",1256,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fweights-and-biases\u002Freferences\u002Fintegration-examples.md",{"path":79,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fintegrations.md",16219,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fweights-and-biases\u002Freferences\u002Fintegrations.md",{"path":83,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fsweeps.md",17675,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fweights-and-biases\u002Freferences\u002Fsweeps.md",[87,99,104],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":28},"01M6CND3DM1YGHBM01M7R68T5V","cg-work-memory","Use when a local agent needs to submit a concise public work-memory report for its own completed local task through `cg report work-memory`.","https:\u002F\u002Fgithub.com\u002FIntelligent-Internet\u002FCommonGround\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fcg-work-memory\u002FSKILL.md",[],[94,5,23,95,96,24,97,98],"cg work memory","memory","task","public","report",{"skillNo":100,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":28},"01M6CND258Z067M3BD03HZ91BK","https:\u002F\u002Fgithub.com\u002FIntelligent-Internet\u002FCommonGround\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcg\u002FSKILL.md",[],[5],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":28},"01M6CNCZGDAPHG6825NRV434EH","cg-worker","Use when deterministic runtime code needs to execute CommonGround worker lifecycle steps through the local `cg worker` command namespace, including claim acquisition, renewal, progress append, terminal finish, child dispatch, and suspend flows.","https:\u002F\u002Fgithub.com\u002FIntelligent-Internet\u002FCommonGround\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcg-worker\u002FSKILL.md",[],[111,112,113,114,25,24,115,116,117,118,119,120],"cg worker","deterministic","terminal","finish","execute","append","command","acquisition","lifecycle","code"]