[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CND3DM1YGHBM01M7R68T5V":3,"skill-same:01M6CND3DM1YGHBM01M7R68T5V":68},{"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":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M6CND3DM1YGHBM01M7R68T5V","cg-work-memory",null,"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`.","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-work-memory\u002FSKILL.md",[],[18,19,20,21,22,23,24,25],"memory","work","cg","cg work memory","report","public","use","task","2026-11-10 10:12:30",false,"---\nname: cg-work-memory\ndescription: 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`.\nmetadata: {\"nanobot\":{\"requires\":{\"bins\":[\"cg\"]}}}\n---\n\n# CG Work Memory Skill\n\nUse this skill with the base `cg` skill. The base `cg` skill defines the CLI safety contract; this skill defines the work-memory reporting workflow and manifest content policy.\n\nIf the base `cg` skill is unavailable, stop and fix the local skill setup. Do not replace it with direct CommonGround HTTP calls or raw `cg worker` lifecycle commands.\n\nThis skill assumes the target project has already been prepared by an operator. For local open-source demos, use the default project `cg-demo` unless the user explicitly provides another seeded project\u002Fprofile. If the CLI returns `project_not_seeded`, `project_bootstrap_conflict`, `admin_service_credential_required`, or `profile_auth_required`, stop and report the setup error instead of running `cg setup`, reading `PG_DSN`, or calling Admin Service \u002F CommonGround HTTP directly.\n\nIf the CLI config\u002Fprofile is missing, ask the user\u002Foperator for the non-secret client connection facts instead of reading config or token files yourself: 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 CLI config has been written. Never ask for a bearer token value in chat.\n\n## Purpose\n\nSubmit selected public work facts from a local agent run as a CommonGround work-memory report.\n\nUse this skill when:\n\n- A local task has completed and produced a useful public summary.\n- The task produced validation evidence, artifact references, or failure notes worth future inspection.\n- Another same-project agent, operator, or reviewer may need to audit or reference the work later.\n\nDo not use this skill for:\n\n- Token-level reasoning or chain-of-thought capture.\n- Private scratchpad, local runtime state, or native memory import.\n- Credential, claim token, registration authority, grant, or admission material.\n- Managed continuation or worker lifecycle ownership.\n\n## Allowed Command\n\nOnly use these base `cg` skill commands:\n\n```bash\ncg profile ensure-agent --profile \u003Cproject-id>\u002F\u003Cagent-id> --project-id \u003Cproject-id> --requested-agent-id \u003Cagent-id> --profile-kind byoa.work_memory_reporter.v1 --runtime-kind \u003Cruntime-kind> --display-name \u003Cdisplay-name>\ncg report work-memory --profile \u003Cproject-id>\u002F\u003Cagent-id> --project-id \u003Cproject-id> --agent-id \u003Cagent-id> --manifest-file \u003Cmanifest.json>\n```\n\nDo not call raw `cg worker` lifecycle commands or CommonGround HTTP APIs directly.\nDo not call `cg setup ...`, `cg kernel ...`, direct database commands, or any raw token\u002Fbootstrap helper from this prompt-level workflow.\n\n## Manifest Rules\n\nWrite the manifest to a JSON file before calling `cg report work-memory`.\n\nThe manifest must use:\n\n- `kind: agent_work_memory_report_manifest.v1`\n- `request_id`\n- `summary`\n- `records`\n- optional `final_payload`\n\nThe manifest must not include:\n\n- top-level `meta`\n- `claim`, `claim_token`, or claim handles\n- credential or registration tokens\n- grants, admission authority, or birth authority material\n- raw private traces or chain-of-thought\n\nRecommended record roles:\n\n- `local_turn_summary`\n- `execution_summary`\n- `validation_evidence`\n- `artifact_ref`\n- `failure_record`\n\nRecommended payload profile:\n\n```json\n{\n  \"kind\": \"cg.turn_record.v1\",\n  \"schema_version\": \"1\",\n  \"type\": \"execution_summary\",\n  \"summary\": \"Completed the local task and captured the reusable result.\",\n  \"details\": {},\n  \"refs\": [],\n  \"producer\": {\n    \"runtime\": \"local-agent\",\n    \"component\": \"cg-work-memory\"\n  }\n}\n```\n\nPayload fields are public work facts for inspect, audit, reference, and shared observation. They do not create authorization, contract, policy, routing, native-memory, or other machine-authoritative effects.\n\n## Workflow\n\n1. Summarize the completed local work in public, non-sensitive language.\n2. Create a manifest JSON file with at least one record.\n3. Ensure the local reporting profile with `cg profile ensure-agent` when the profile is not already prepared.\n4. Run `cg report work-memory` with the prepared profile.\n5. Parse only the JSON envelope from stdout.\n6. If `ok` is true, keep the returned `turn` and `record_refs` for future reference.\n7. If `ok` is false, inspect `error.code` and `error.message`; do not parse stderr as protocol data.\n8. For missing client config\u002Fprofile\u002Fauth, ask for the missing client connection facts; do not ask for token contents and do not repair operator setup.\n\nExample:\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  --profile-kind byoa.work_memory_reporter.v1 \\\n  --runtime-kind codex.local.v1 \\\n  --display-name \"Local Agent\"\n\ncg report work-memory \\\n  --profile cg-demo\u002Flocal-agent \\\n  --project-id cg-demo \\\n  --agent-id local-agent \\\n  --manifest-file examples\u002Fskills\u002Fcg-work-memory\u002Fexamples\u002Flocal-turn-summary.manifest.json\n```\n\nRead the submitted report:\n\n```bash\ncg turn context \\\n  --profile cg-demo\u002Flocal-agent \\\n  --project-id cg-demo \\\n  --turn-id T-123\n```\n","# CG Work Memory Skill\n\nUse this skill with the base `cg` skill. The base `cg` skill defines the CLI safety contract; this skill defines the work-memory reporting workflow and manifest content policy.\n\nIf the base `cg` skill is unavailable, stop and fix the local skill setup. Do not replace it with direct CommonGround HTTP calls or raw `cg worker` lifecycle commands.\n\nThis skill assumes the target project has already been prepared by an operator. For local open-source demos, use the default project `cg-demo` unless the user explicitly provides another seeded project\u002Fprofile. If the CLI returns `project_not_seeded`, `project_bootstrap_conflict`, `admin_service_credential_required`, or `profile_auth_required`, stop and report the setup error instead of running `cg setup`, reading `PG_DSN`, or calling Admin Service \u002F CommonGround HTTP directly.\n\nIf the CLI config\u002Fprofile is missing, ask the user\u002Foperator for the non-secret client connection facts instead of reading config or token files yourself: 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 CLI config has been written. Never ask for a bearer token value in chat.\n\n## Purpose\n\nSubmit selected public work facts from a local agent run as a CommonGround work-memory report.\n\nUse this skill when:\n\n- A local task has completed and produced a useful public summary.\n- The task produced validation evidence, artifact references, or failure notes worth future inspection.\n- Another same-project agent, operator, or reviewer may need to audit or reference the work later.\n\nDo not use this skill for:\n\n- Token-level reasoning or chain-of-thought capture.\n- Private scratchpad, local runtime state, or native memory import.\n- Credential, claim token, registration authority, grant, or admission material.\n- Managed continuation or worker lifecycle ownership.\n\n## Allowed Command\n\nOnly use these base `cg` skill commands:\n\n```bash\ncg profile ensure-agent --profile \u003Cproject-id>\u002F\u003Cagent-id> --project-id \u003Cproject-id> --requested-agent-id \u003Cagent-id> --profile-kind byoa.work_memory_reporter.v1 --runtime-kind \u003Cruntime-kind> --display-name \u003Cdisplay-name>\ncg report work-memory --profile \u003Cproject-id>\u002F\u003Cagent-id> --project-id \u003Cproject-id> --agent-id \u003Cagent-id> --manifest-file \u003Cmanifest.json>\n```\n\nDo not call raw `cg worker` lifecycle commands or CommonGround HTTP APIs directly.\nDo not call `cg setup ...`, `cg kernel ...`, direct database commands, or any raw token\u002Fbootstrap helper from this prompt-level workflow.\n\n## Manifest Rules\n\nWrite the manifest to a JSON file before calling `cg report work-memory`.\n\nThe manifest must use:\n\n- `kind: agent_work_memory_report_manifest.v1`\n- `request_id`\n- `summary`\n- `records`\n- optional `final_payload`\n\nThe manifest must not include:\n\n- top-level `meta`\n- `claim`, `claim_token`, or claim handles\n- credential or registration tokens\n- grants, admission authority, or birth authority material\n- raw private traces or chain-of-thought\n\nRecommended record roles:\n\n- `local_turn_summary`\n- `execution_summary`\n- `validation_evidence`\n- `artifact_ref`\n- `failure_record`\n\nRecommended payload profile:\n\n```json\n{\n  \"kind\": \"cg.turn_record.v1\",\n  \"schema_version\": \"1\",\n  \"type\": \"execution_summary\",\n  \"summary\": \"Completed the local task and captured the reusable result.\",\n  \"details\": {},\n  \"refs\": [],\n  \"producer\": {\n    \"runtime\": \"local-agent\",\n    \"component\": \"cg-work-memory\"\n  }\n}\n```\n\nPayload fields are public work facts for inspect, audit, reference, and shared observation. They do not create authorization, contract, policy, routing, native-memory, or other machine-authoritative effects.\n\n## Workflow\n\n1. Summarize the completed local work in public, non-sensitive language.\n2. Create a manifest JSON file with at least one record.\n3. Ensure the local reporting profile with `cg profile ensure-agent` when the profile is not already prepared.\n4. Run `cg report work-memory` with the prepared profile.\n5. Parse only the JSON envelope from stdout.\n6. If `ok` is true, keep the returned `turn` and `record_refs` for future reference.\n7. If `ok` is false, inspect `error.code` and `error.message`; do not parse stderr as protocol data.\n8. For missing client config\u002Fprofile\u002Fauth, ask for the missing client connection facts; do not ask for token contents and do not repair operator setup.\n\nExample:\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  --profile-kind byoa.work_memory_reporter.v1 \\\n  --runtime-kind codex.local.v1 \\\n  --display-name \"Local Agent\"\n\ncg report work-memory \\\n  --profile cg-demo\u002Flocal-agent \\\n  --project-id cg-demo \\\n  --agent-id local-agent \\\n  --manifest-file examples\u002Fskills\u002Fcg-work-memory\u002Fexamples\u002Flocal-turn-summary.manifest.json\n```\n\nRead the submitted report:\n\n```bash\ncg turn context \\\n  --profile cg-demo\u002Flocal-agent \\\n  --project-id cg-demo \\\n  --turn-id T-123\n```\n",{"name":5,"metadata":31,"description":7},{"nanobot":32},{"requires":33},{"bins":34},[20],"main","10b50ddb0fb4f0d5b4a58e841d6f40b52a3cbd5b","examples\u002Fskills\u002Fcg-work-memory",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":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add Intelligent-Internet\u002FCommonGround --skill cg-work-memory",{"tool":50,"command":51},"bunx","bunx skills add Intelligent-Internet\u002FCommonGround --skill cg-work-memory",{"tool":53,"command":54},"pnpm","pnpm dlx skills add Intelligent-Internet\u002FCommonGround --skill cg-work-memory","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FIntelligent-Internet\u002FCommonGround\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fcg-work-memory\u002FSKILL.md",true,[58,64],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"examples\u002Flocal-turn-summary.manifest.json","REFERENCE","参考文档",1460,"https:\u002F\u002Fgithub.com\u002FIntelligent-Internet\u002FCommonGround\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fcg-work-memory\u002Fexamples\u002Flocal-turn-summary.manifest.json",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"README.md",2776,"https:\u002F\u002Fgithub.com\u002FIntelligent-Internet\u002FCommonGround\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fcg-work-memory\u002FREADME.md",[69,83,88],{"skillNo":70,"name":20,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":26},"01M6CND5Y6BXSB26V2WNH8CDVH","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.","https:\u002F\u002Fgithub.com\u002FIntelligent-Internet\u002FCommonGround\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fcg\u002FSKILL.md",[],[20,75,76,77,78,24,19,79,80,81,82],"cli","calling","resume","dispatch","wait for","api","state","http",{"skillNo":84,"name":20,"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":85,"categories":86,"keywords":87,"publishedAt":26},"01M6CND258Z067M3BD03HZ91BK","https:\u002F\u002Fgithub.com\u002FIntelligent-Internet\u002FCommonGround\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcg\u002FSKILL.md",[],[20],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":26},"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",[],[95,96,97,98,99,100,101,78,24,102,103,104],"cg worker","code","acquisition","terminal","lifecycle","deterministic","finish","execute","append","command"]