From archcore
Queries .archcore/ knowledge base for rules, ADRs, specs, and patterns relevant to a file, directory, or topic; recaps recent plans when picking up project work.
npx claudepluginhub archcore-ai/plugin --plugin archcoreThis skill uses the workspace's default tool permissions.
Pull-mode project context. Surfaces the rules, decisions, specs, and patterns that apply to a code area before you change it — or recaps current focus when picking up work.
Audits Claude Code project context (CLAUDE.md, rules, knowledge) for progressive disclosure compliance: verifies knowledge reachability from rules, detects stale references, orphaned files, and CLAUDE.md index leakage. Useful after adding or refactoring context files.
Discovers and ranks project files for coding standards, security patterns, and conventions using context-scout. Loads critical/high/medium priority files before implementation. Invoke via /context-discovery [topic].
Defines project structure, naming conventions, directory layouts, and three-layer documentation model for consistent codebase organization across skills. Useful for project setup, init, or structure discussions.
Share bugs, ideas, or general feedback.
Pull-mode project context. Surfaces the rules, decisions, specs, and patterns that apply to a code area before you change it — or recaps current focus when picking up work.
Not related to the AI context window or session state — this is about the .archcore/ knowledge base.
src/payments/?"src/api/"Not context:
/archcore:capture, /archcore:decide, /archcore:standard/archcore:plan/archcore:actualize/archcore:review (--deep for the full audit)Classify $ARGUMENTS into one mode:
| Signal | Mode |
|---|---|
| Empty or whitespace only | pickup |
Contains /, OR matches an existing repo directory | path |
| Otherwise | topic |
Determine mode from $ARGUMENTS per routing table.
Path mode:
Normalize the argument: trim whitespace, convert \ to /, strip trailing /.
Call mcp__archcore__search_documents(path_ref="<normalized>", limit=50, sort="relevance").
Topic mode:
Call mcp__archcore__search_documents(content="<argument>", limit=50, sort="relevance").
Topic search is strict substring — singular/plural and near-synonyms do not match. If the first call returns empty, retry once with a shorter or alternate phrasing of the same term before falling through to the empty state.
Pickup mode:
Call in parallel:
mcp__archcore__search_documents(types=["plan", "idea"], status="draft", limit=10, sort="mtime")mcp__archcore__search_documents(types=["adr", "rule"], status="accepted", mtime_after="30d", limit=10, sort="mtime")If the recent-accepted call returns empty, retry once with mtime_after="90d".
Path and topic modes — group results by type:
| Section | Types included |
|---|---|
| Rules | rule |
| Decisions | adr |
| Specs | spec |
| Patterns | cpat |
| In Progress | plan or idea with status draft |
Drop other types. Results are already sorted by search_documents (specificity → type priority → mtime); keep the top 5 per section.
Pickup mode — three fixed sections:
adr results from the recent-accepted callrule results from the recent-accepted callFor each item in the Rules, Decisions, or Specs sections, inspect its incoming_relations. If a relation of type implements or related points from a guide, inline that guide as an indented bullet under the parent. Skip a guide that is already inlined under a sibling in the same section.
## Rules (N)
- **<title>** [rule · <status> · <match.kind>]
`<path>`
> <excerpt>
- 📖 **<guide title>** [guide · <status>]
## Decisions (N)
- **<title>** [adr · <status> · <match.kind>]
`<path>`
> <excerpt>
## Specs (N)
...
## Patterns (N)
...
## In Progress (N)
⚠️ **<title>** [plan · draft]
`<path>`
> <excerpt>
_Classified as: <mode>._
Do NOT emit a section header if its group is empty. The classification footer is always emitted.
If all sections are empty, fall through to Step 6.
mcp__archcore__list_documents(limit=1). If the knowledge base is empty → "No documents indexed yet. Run /archcore:capture or /archcore:decide to seed .archcore/."<scope>. Consider using @<scope> in a rule or ADR so future work in this area surfaces the context automatically."A grouped markdown surface of the rules, ADRs, specs, patterns, and in-progress work that applies to the requested scope — or a pickup summary of draft work + recent accepted decisions and rules when called with no argument. A classification footer identifies which mode was chosen.