[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F174MC4GPJJD104JJAEK9K":3,"skill-same:01M7F174MC4GPJJD104JJAEK9K":46},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7F174MC4GPJJD104JJAEK9K","lean-ctx-review",null,"Review how the lean-ctx ctx_* MCP tools performed in the current session and file upstream issues for confirmed problems. Use when the user asks to review\u002Faudit lean-ctx tool performance, says \"lean-ctx review\", asks why ctx_* tools failed or fell back to native tools, or wants to report a lean-ctx bug.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Flean-ctx-review\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: lean-ctx-review\ndescription: Review how the lean-ctx ctx_* MCP tools performed in the current session and file upstream issues for confirmed problems. Use when the user asks to review\u002Faudit lean-ctx tool performance, says \"lean-ctx review\", asks why ctx_* tools failed or fell back to native tools, or wants to report a lean-ctx bug.\n---\n\n# lean-ctx session review\n\nUpstream repo: `yvgude\u002Flean-ctx` (https:\u002F\u002Fgithub.com\u002Fyvgude\u002Flean-ctx).\n\nReads a Claude Code session transcript, so it applies to agents that write\n`~\u002F.claude\u002Fprojects\u002F*\u002F*.jsonl`. Other harnesses need their own extractor; the\ntriage rules below are harness-independent.\n\n## 1. Extract\n\nRun from this skill's directory (needs `python3`):\n\n```bash\npython3 scripts\u002Fscan_session.py\n```\n\nDefaults to the newest transcript under `~\u002F.claude\u002Fprojects\u002F*\u002F` — the live\nClaude Code session. Pass a path to review a different one. `-d N` dumps call\n`#N` in full.\n\nThe script reports **facts, not verdicts**: every `ctx_*` call in order, which\nresults the harness flagged `is_error`, which calls repeated identical\narguments, which asked for `raw`\u002F`fresh` output, and how many native\n`Read`\u002F`Grep`\u002F`Bash` calls happened. It deliberately does not guess which of\nthose is a problem — that judgment is yours, below.\n\nTranscripts run to megabytes, so read the table, not the raw JSONL.\n\n## 2. Triage\n\n**Start from `is_error`.** In practice every genuine tool failure carries it.\nThen read the call list for the softer signals: identical retries, `raw`\u002F`fresh`\nre-reads, native calls clustered right after a `ctx_*` call, or a sequence that\nonly completed once `ctx_*` was abandoned.\n\n### Before absolving anything, do these two things\n\nSkipping them is how this review returns a false \"nothing to report\". Both cost\none command each.\n\n**Search the tracker for the guard or tool you are about to excuse.** Do this\nduring triage, not at step 4. A closed issue defines intended behaviour: if a\nshipped fix says a form is supported and you just watched it fail, that is a\nregression and one of the most valuable things this review finds. It also stops\nyou re-filing a settled design decision.\n\n```bash\ngh issue list --repo yvgude\u002Flean-ctx --search \"\u003Cguard or tool keyword>\" --state all\n```\n\n**Probe the stated rationale — never accept a message's self-description.**\nAn error explains itself, and that explanation can be wrong. Three checks, each\none command:\n\n- *Does the sanctioned alternative achieve the same thing?* If the block is\n  bypassable through a route the message itself recommends, it constrains syntax,\n  not capability. Sometimes that is deliberate (structured input parses reliably\n  where a shell string does not) — decide which, do not assume.\n- *Does the stated reason match the observed rule?* Vary one axis at a time. A\n  guard blaming payload size that actually keys on path, or blaming a pipe on a\n  command that is piped, is misdiagnosing itself.\n- *Does the message contradict itself?* A rejection that also states the rejected\n  form is allowed is a finding on its own, whichever way the policy should go.\n\nA wrong diagnostic is a real bug even when the block is correct: it sends the\nnext caller down a route that cannot work.\n\n### Not a finding\n\n- **Words inside returned content.** A file containing `http.StatusConflict`, a\n  `git rebase` printing `CONFLICT (content):`, `gh` returning\n  `\"mergeable\":\"CONFLICTING\"`, a test run printing `not found`. The tool\n  returned exactly what was asked for. Judge the tool's own behaviour, never the\n  payload's vocabulary.\n- **Self-reference.** Any result that quotes a previous scan, this skill, or a\n  transcript will echo every error word in it.\n- **Guard blocks — only after they survive the probe above.** Inline env\n  overrides (`GIT_EDITOR=`), shell redirects (`>`\u002F`>>`), non-allowlisted\n  commands, paths outside the project root. \"It offered an alternative and the\n  alternative worked\" is *not* enough to clear one: that is true of a guard whose\n  reason is wrong, whose rule is different from its description, or that\n  contradicts itself. Clear it only once the stated rationale holds up.\n- **Malformed tool input.** `InputValidationError` on `__unparsedToolInput` is\n  the caller's own JSON serialization — commonly a raw tab or newline inside a\n  string — rejected before lean-ctx ever ran.\n- **My own wrong arguments**, a genuinely missing file, a failing build.\n\n### Confirmable\n\nThe tool did something wrong or unhelpful *given correct input*:\n\n- wrong, lossy, or truncated output where the mode promises otherwise\n- content injected into output documented as verbatim, or anything that breaks a\n  documented output format (e.g. corrupting batch-read separators)\n- a crash, hang, or schema mismatch against the documented parameters\n- a documented mode behaving differently than described\n- a retry that only succeeded after dropping to native tools\n- **a wrong or self-contradicting diagnostic**, even where the block itself is\n  right — naming the wrong cause sends the next caller down a route that cannot\n  work, and costs more than the block did\n- **a regression against a closed issue**: a shipped fix says the form is\n  supported, and it is not\n\n## 3. Reproduce\n\n**No minimal repro, no issue.** Re-run the exact tool and arguments. If it\npasses, try to isolate the trigger; if you cannot, do not file — report the\nobservation to the user instead, saying plainly that it did not reproduce and\nwhat you tried. Guessing at internals is worse than silence.\n\n`lean-ctx --version` for the version line.\n\nZero confirmed findings is a valid and common result. Say so and file nothing.\n\n## 4. File\n\nOnly for confirmed findings, one issue per distinct problem. You searched the\ntracker during triage; widen it here if the finding shifted:\n\n```bash\ngh issue list --repo yvgude\u002Flean-ctx --search \"\u003Ckeywords>\" --state all\n```\n\nSkip if already reported — and read the close text before re-filing, since a\nclosed issue may have already conceded the point you are about to raise. When a\nfinding contradicts a closed fix, cite it and frame the issue as the gap in that\nfix. Otherwise:\n\n```bash\ngh issue create --repo yvgude\u002Flean-ctx --title \"...\" --body-file \u003Cfile>\n```\n\nBody: what happened, expected, minimal repro (exact tool + args), version, OS.\nNo speculation about internals. End every issue body with the Claude Code\nattribution footer. Report the issue `html_url` back to the user.\n","# lean-ctx session review\n\nUpstream repo: `yvgude\u002Flean-ctx` (https:\u002F\u002Fgithub.com\u002Fyvgude\u002Flean-ctx).\n\nReads a Claude Code session transcript, so it applies to agents that write\n`~\u002F.claude\u002Fprojects\u002F*\u002F*.jsonl`. Other harnesses need their own extractor; the\ntriage rules below are harness-independent.\n\n## 1. Extract\n\nRun from this skill's directory (needs `python3`):\n\n```bash\npython3 scripts\u002Fscan_session.py\n```\n\nDefaults to the newest transcript under `~\u002F.claude\u002Fprojects\u002F*\u002F` — the live\nClaude Code session. Pass a path to review a different one. `-d N` dumps call\n`#N` in full.\n\nThe script reports **facts, not verdicts**: every `ctx_*` call in order, which\nresults the harness flagged `is_error`, which calls repeated identical\narguments, which asked for `raw`\u002F`fresh` output, and how many native\n`Read`\u002F`Grep`\u002F`Bash` calls happened. It deliberately does not guess which of\nthose is a problem — that judgment is yours, below.\n\nTranscripts run to megabytes, so read the table, not the raw JSONL.\n\n## 2. Triage\n\n**Start from `is_error`.** In practice every genuine tool failure carries it.\nThen read the call list for the softer signals: identical retries, `raw`\u002F`fresh`\nre-reads, native calls clustered right after a `ctx_*` call, or a sequence that\nonly completed once `ctx_*` was abandoned.\n\n### Before absolving anything, do these two things\n\nSkipping them is how this review returns a false \"nothing to report\". Both cost\none command each.\n\n**Search the tracker for the guard or tool you are about to excuse.** Do this\nduring triage, not at step 4. A closed issue defines intended behaviour: if a\nshipped fix says a form is supported and you just watched it fail, that is a\nregression and one of the most valuable things this review finds. It also stops\nyou re-filing a settled design decision.\n\n```bash\ngh issue list --repo yvgude\u002Flean-ctx --search \"\u003Cguard or tool keyword>\" --state all\n```\n\n**Probe the stated rationale — never accept a message's self-description.**\nAn error explains itself, and that explanation can be wrong. Three checks, each\none command:\n\n- *Does the sanctioned alternative achieve the same thing?* If the block is\n  bypassable through a route the message itself recommends, it constrains syntax,\n  not capability. Sometimes that is deliberate (structured input parses reliably\n  where a shell string does not) — decide which, do not assume.\n- *Does the stated reason match the observed rule?* Vary one axis at a time. A\n  guard blaming payload size that actually keys on path, or blaming a pipe on a\n  command that is piped, is misdiagnosing itself.\n- *Does the message contradict itself?* A rejection that also states the rejected\n  form is allowed is a finding on its own, whichever way the policy should go.\n\nA wrong diagnostic is a real bug even when the block is correct: it sends the\nnext caller down a route that cannot work.\n\n### Not a finding\n\n- **Words inside returned content.** A file containing `http.StatusConflict`, a\n  `git rebase` printing `CONFLICT (content):`, `gh` returning\n  `\"mergeable\":\"CONFLICTING\"`, a test run printing `not found`. The tool\n  returned exactly what was asked for. Judge the tool's own behaviour, never the\n  payload's vocabulary.\n- **Self-reference.** Any result that quotes a previous scan, this skill, or a\n  transcript will echo every error word in it.\n- **Guard blocks — only after they survive the probe above.** Inline env\n  overrides (`GIT_EDITOR=`), shell redirects (`>`\u002F`>>`), non-allowlisted\n  commands, paths outside the project root. \"It offered an alternative and the\n  alternative worked\" is *not* enough to clear one: that is true of a guard whose\n  reason is wrong, whose rule is different from its description, or that\n  contradicts itself. Clear it only once the stated rationale holds up.\n- **Malformed tool input.** `InputValidationError` on `__unparsedToolInput` is\n  the caller's own JSON serialization — commonly a raw tab or newline inside a\n  string — rejected before lean-ctx ever ran.\n- **My own wrong arguments**, a genuinely missing file, a failing build.\n\n### Confirmable\n\nThe tool did something wrong or unhelpful *given correct input*:\n\n- wrong, lossy, or truncated output where the mode promises otherwise\n- content injected into output documented as verbatim, or anything that breaks a\n  documented output format (e.g. corrupting batch-read separators)\n- a crash, hang, or schema mismatch against the documented parameters\n- a documented mode behaving differently than described\n- a retry that only succeeded after dropping to native tools\n- **a wrong or self-contradicting diagnostic**, even where the block itself is\n  right — naming the wrong cause sends the next caller down a route that cannot\n  work, and costs more than the block did\n- **a regression against a closed issue**: a shipped fix says the form is\n  supported, and it is not\n\n## 3. Reproduce\n\n**No minimal repro, no issue.** Re-run the exact tool and arguments. If it\npasses, try to isolate the trigger; if you cannot, do not file — report the\nobservation to the user instead, saying plainly that it did not reproduce and\nwhat you tried. Guessing at internals is worse than silence.\n\n`lean-ctx --version` for the version line.\n\nZero confirmed findings is a valid and common result. Say so and file nothing.\n\n## 4. File\n\nOnly for confirmed findings, one issue per distinct problem. You searched the\ntracker during triage; widen it here if the finding shifted:\n\n```bash\ngh issue list --repo yvgude\u002Flean-ctx --search \"\u003Ckeywords>\" --state all\n```\n\nSkip if already reported — and read the close text before re-filing, since a\nclosed issue may have already conceded the point you are about to raise. When a\nfinding contradicts a closed fix, cite it and frame the issue as the gap in that\nfix. Otherwise:\n\n```bash\ngh issue create --repo yvgude\u002Flean-ctx --title \"...\" --body-file \u003Cfile>\n```\n\nBody: what happened, expected, minimal repro (exact tool + args), version, OS.\nNo speculation about internals. End every issue body with the Claude Code\nattribution footer. Report the issue `html_url` back to the user.\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Flean-ctx-review",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill lean-ctx-review",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill lean-ctx-review",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill lean-ctx-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Flean-ctx-review\u002FSKILL.md",true,[],[47,54,59,66,73,80],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":55,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]