Repository navigation
docs(skill): save CLI application Evidence and read a summary view - #1429
Merged
Merged
Conversation
The skill's CLI fallback printed the complete application Evidence to stdout. A real ASAR produces hundreds of megabytes (334 MB for Obsidian), which an agent then reads into its context. Save the Evidence to a file and project a summary or module page with inspect-analysis-view instead. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
2 tasks done
darsrc
pushed a commit
to darsrc/rea
that referenced
this pull request
Oct 10, 2026
…orluto#1429) The skill's CLI fallback printed the complete application Evidence to stdout. A real ASAR produces hundreds of megabytes (334 MB for Obsidian), which an agent then reads into its context. Save the Evidence to a file and project a summary or module page with inspect-analysis-view instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The skill's CLI fallback tells agents to run
analyze-javascript-application ... --jsonand read what it prints. On a real app, that output is the complete application Evidence, often hundreds of megabytes. An agent following the skill reads all of it into its context. This PR changes the fallback (anddocs/cli.md) to save the Evidence to a file and read a summary view of it withinspect-analysis-view. Part of the context-cost work in #1065 / #723. Only docs change.Measurements (local, current main)
obsidian.asar(--integrity-policy record-and-continue)--token-count)A 32-module page view of the fixture measured 1,814 tokens.
Change
skill-src/reverse-engineer-anything/SKILL.md: the fallback now redirects--jsontoapp-evidence.json, wraps it withjqas{source: {kind: "inline", evidence: .}, view: {kind: "summary"}}, and runsinspect-analysis-view. It names the module-page view andtrace-application-featureas next steps. Skillmetadata.version34 → 35, andsrc/generatedPackageMetadata.tsis regenerated to match.docs/cli.md: the same recipe under "Run a command", plus a link to the JavaScript application workflows guide.No CLI/MCP behavior or schema changes. The English README quick start is unchanged because the README translations must match its bash blocks.
Verification
npm run docs:check(6/6 tasks)npm run test:focused -- tests/boundary/filesystem/setupSkill.test.ts tests/conformance/readmeConsistency.test.tsoxfmt --checkon both docsNo real Hopper/Ghidra verification (not affected).
🤖 Generated with Claude Code