[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A7ZA2EBH3SNR9X0VQFB1VC":3,"skill-same:01M7A7ZA2EBH3SNR9X0VQFB1VC":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7A7ZA2EBH3SNR9X0VQFB1VC","compact",null,"Check context usage and compact the conversation from IPython. Use when context is filling up and substantial work remains, so the session is summarized and you keep working instead of stopping early.","anghel4d\u002Fprime-agent","anghel4d","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F45219403?v=4","01M7A7YYACDJYDTX38D87PTQ7R","Anghel","01M7A7YYBEZ1RD55DPEJPHACDJ",0,"MIT","https:\u002F\u002Fgithub.com\u002Fanghel4d\u002Fprime-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fskills\u002Fcompact\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: compact\ndescription: Check context usage and compact the conversation from IPython. Use when context is filling up and substantial work remains, so the session is summarized and you keep working instead of stopping early.\n---\n\n# Compact\n\nCompaction replaces older conversation history with a dense summary, freeing\ncontext so long-running work can continue. The implementation lives in the\nhost (the same one behind the user's `\u002Fcompact` command); this skill is the\nkernel-side interface to it. Call it directly from IPython:\n\n```python\nawait compact.status()\nawait compact.run()\nawait compact.run(\"keep the failing test names and the migration checklist\")\n```\n\n## API\n\n- `await compact.status()` — current context usage as a dict: `tokens`,\n  `context_window`, and `percent` (`None` right after a compaction until the\n  next model response), plus `scheduled` (whether a requested compaction is\n  already pending).\n- `await compact.run(instructions=None)` — schedule compaction. Returns\n  `{\"scheduled\": True}`, or `{\"scheduled\": False, \"reason\": ...}` when there\n  is nothing to compact yet. Optional `instructions` focus the summary on\n  what matters for the remaining work.\n\n## Rules\n\n- Compaction never runs mid-cell. A scheduled compaction runs when the\n  current turn ends; the harness then resumes you automatically with the\n  summary plus recent messages, and you continue the task.\n- The IPython kernel persists through compaction — variables, imports, and\n  helpers you defined all remain available.\n- Compact at a natural boundary when context usage is high and substantial\n  work remains, instead of becoming terse or returning to the user early.\n  Check `await compact.status()` when unsure.\n- One request per turn is enough; calling `run` again before the turn ends\n  only updates the instructions.\n","# Compact\n\nCompaction replaces older conversation history with a dense summary, freeing\ncontext so long-running work can continue. The implementation lives in the\nhost (the same one behind the user's `\u002Fcompact` command); this skill is the\nkernel-side interface to it. Call it directly from IPython:\n\n```python\nawait compact.status()\nawait compact.run()\nawait compact.run(\"keep the failing test names and the migration checklist\")\n```\n\n## API\n\n- `await compact.status()` — current context usage as a dict: `tokens`,\n  `context_window`, and `percent` (`None` right after a compaction until the\n  next model response), plus `scheduled` (whether a requested compaction is\n  already pending).\n- `await compact.run(instructions=None)` — schedule compaction. Returns\n  `{\"scheduled\": True}`, or `{\"scheduled\": False, \"reason\": ...}` when there\n  is nothing to compact yet. Optional `instructions` focus the summary on\n  what matters for the remaining work.\n\n## Rules\n\n- Compaction never runs mid-cell. A scheduled compaction runs when the\n  current turn ends; the harness then resumes you automatically with the\n  summary plus recent messages, and you continue the task.\n- The IPython kernel persists through compaction — variables, imports, and\n  helpers you defined all remain available.\n- Compact at a natural boundary when context usage is high and substantial\n  work remains, instead of becoming terse or returning to the user early.\n  Check `await compact.status()` when unsure.\n- One request per turn is enough; calling `run` again before the turn ends\n  only updates the instructions.\n",{"name":5,"description":7},"main","c22549a37b73cc603c6f0d202517cb0ca856c7d3","packages\u002Fcoding-agent\u002Fskills\u002Fcompact","https:\u002F\u002Fgithub.com\u002Fanghel4d\u002Fprime-agent","https:\u002F\u002Fgithub.com\u002Fanghel4d","2026-08-06 09:14:54",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add anghel4d\u002Fprime-agent --skill compact",{"tool":36,"command":37},"bunx","bunx skills add anghel4d\u002Fprime-agent --skill compact",{"tool":39,"command":40},"pnpm","pnpm dlx skills add anghel4d\u002Fprime-agent --skill compact","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fanghel4d\u002Fprime-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fskills\u002Fcompact\u002FSKILL.md",true,[44,50],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"pyproject.toml","OTHER","其他",585,"https:\u002F\u002Fgithub.com\u002Fanghel4d\u002Fprime-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fskills\u002Fcompact\u002Fpyproject.toml",{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"src\u002Fcompact\u002F__init__.py","SCRIPT","脚本",1503,"https:\u002F\u002Fgithub.com\u002Fanghel4d\u002Fprime-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fskills\u002Fcompact\u002Fsrc\u002Fcompact\u002F__init__.py",[57,64,71,78,85,92],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7A81BFEEB1V1D6BBZ34DP3T","valid-skill","A valid skill for testing purposes.","https:\u002F\u002Fgithub.com\u002Fanghel4d\u002Fprime-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7A818EKCN3T9M6RAP6J0FT2","unknown-field","A skill with an unknown frontmatter field.","https:\u002F\u002Fgithub.com\u002Fanghel4d\u002Fprime-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Funknown-field\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7A8173V6JW5WC0KHK2KJ7Y2","nested-child","Nested skill should be ignored.","https:\u002F\u002Fgithub.com\u002Fanghel4d\u002Fprime-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\u002Fnested-child\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7A8150HZTRCNJH8X3PFAZ8K","root-skill-preferred","Root skill should win.","https:\u002F\u002Fgithub.com\u002Fanghel4d\u002Fprime-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7A813SN5DS940105ZBM0WEX","python-skill","A Python-backed skill for testing.","https:\u002F\u002Fgithub.com\u002Fanghel4d\u002Fprime-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fpython-skill\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7A80ZXJJXDSG25REHXHWVWE","python-package-missing","A Python skill missing its import package.","https:\u002F\u002Fgithub.com\u002Fanghel4d\u002Fprime-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fpython-package-missing\u002FSKILL.md",[],[]]