What it is for
A deliberate differential, not routine development. The agent records what CoreStory says about a focused question, investigates the same question independently in source, and tabulates the differences. Use it when- You want to audit what CoreStory says about part of a codebase.
- You suspect a missed or misstated rule and want evidence for a gap report.
- You want an answer to use, not an audit of the tool (use Using CoreStory v3).
Prerequisites
- A repository that CoreStory v3 has indexed. The skill checks this first with
statusandcorpus_info, and stops if the snapshot is missing or the last ingest failed. Setup is on the CoreStory v3 playbooks overview. - The
corestory-localplugin or the MCP connection, so the agent can reach the CoreStory v3 tools. - One focused question to test. The skill asks if you give none.
How to invoke it
- Automatic. With the Claude Code plugin, a session hook points the agent to the matching skill before it edits or answers. The agent picks
corestory-askwhen the request fits. - By name. Ask for it directly (
/corestory-askin Claude Code; the plugin may show it ascorestory-local:corestory-ask), or say “use the corestory-ask skill” in other agents. - From a rules file. Without the plugin hook, add the one-line fallback from the overview to
CLAUDE.mdorAGENTS.md.
What it produces
ASK-DELTA.mdin the repository root: a table with claim, CoreStory evidence, source evidence and a classification (CoreStory gap, CoreStory adds value, staleness, uncertain), andNot verified.
How it works
- Preflight with
statusandcorpus_info; stop if the snapshot is not ready. - Record the CoreStory side with
search,rules_for,entityandconnections, noting each claim, its id and its cited lines. - Investigate independently with Grep and
read_file. A graph claim is not treated as true. - Write the delta table and classify each row.
- Offer a narrow gap report only for well-evidenced gaps.
Limits
- Deltas are leads, not verdicts.
searchnever returns an empty result, so a rule missing from the results does not prove it is absent. - A difference may be staleness if the working tree changed after the snapshot.
- CoreStory reads and indexes code. It does not run or test it. Any test results in the output are the agent’s own, from commands it ran.
- Results describe the ingested snapshot, which may differ from your working tree if files changed since.
- Hits from
searchare leads, not proof. The skill reads the cited lines before it relies on a rule, and lists what it could not check underNot verified.
Skill source
The full recipe is the skill file itself:corestory-ask/SKILL.md on GitHub.