ark-explore

ark-explore is a skill for Claude Code from pedroknigge/arkgate. It costs 24 tokens per session (9,604 once invoked), scanned A, original, MIT.

A read-only map of a project's import rules and remaining design problems. It examines the actual source tree, not only command output.

In plain words
What is it for?
Use it to inspect files across the project, identify and rank leftover work, and prepare one refactor for a separate applying step.
Why use it?
It helps distinguish a genuinely clean project from one that passes import checks but still has poor structure or design gaps.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: mentions subagents.

Good fit Use it to inspect files across the project, identify and rank leftover work, and prepare one refactor for a separate applying step.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pedroknigge/arkgate/ark-explore
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pedroknigge/arkgate --skill ark-explore
Clone the repo
git clone --depth 1 https://github.com/pedroknigge/arkgate

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ark-explore

README.md
[![agentmods](https://agentmods.dev/badge/skills/pedroknigge/arkgate/ark-explore/github.svg)](https://agentmods.dev/skills/pedroknigge/arkgate/ark-explore)
Your own site
<a href="https://agentmods.dev/skills/pedroknigge/arkgate/ark-explore"><img src="https://agentmods.dev/badge/skills/pedroknigge/arkgate/ark-explore/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ark-explore

Your own site · 80×15
<a href="https://agentmods.dev/skills/pedroknigge/arkgate/ark-explore"><img src="https://agentmods.dev/badge/skills/pedroknigge/arkgate/ark-explore.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,604 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.09604
Opus 5.5 $0.00010 $0.03842
Sonnet 5.5 $0.00005 $0.01921
Haiku 4.5 $0.00002 $0.00960

Measured 23d ago against content hash 5034ab311271, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ark-explore scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

templates/agent-skills/ark-explore/SKILL.md · 548 lines

How it starts

The opening of the file, as written. The whole thing — 548 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/ark-explore — Recon the real project (map only)

Contener · Guiar · Ordenar. In plain words: contain the write, guide the next step, order leftover mess. This door is Guiar: map leftover design so you can order a messy tree. Do not apply. Skills never enforce — CLI / hooks / CI do.

When: you need a map, leftover design work remains after imports look green, or one bounded decision needs 2–3 enforceable options. Not when: the user wants edits applied (/ark-autopilot) or session 0 (/ark-adopt).

Steps

  1. Read arkgate-check --doctor.
  2. Open the real tree (≥12 files across ≥4 dirs). CLI JSON alone is incomplete.
  3. Rank leftover work. Hand off to /ark-autopilot to apply one refactor. Do not write config or product code here.

Checklist

  • Doctor #1: if ENFORCE + empty plan A and gates are already installed → Shape (/ark-explore then /ark-autopilot). Do not say install-agent-gates.
  • When --require-gates / adopted-strict is on and doctor JSON has adrPresence, the next step is a short note under docs/adr/ (or docs/decisions/). Soft. Not every change. Off when require-gates is off. No /ark-adr. When policyDelta needs --policy-ack (weaken, new layer, or new allow edge), the ack must name that note as adrPath — a reason alone is not enough.
  • When doctor JSON has statesTransitions or statusTransitionCatalog, the next step is a short states → transitions table (or one link) on the domain doc already in play. Use catalog names when present. Soft. Silent when that doc is absent or Domain has no status vocabulary. No /ark-states. Do not invent states.
  • When doctor JSON has noDomainFrontend, Domain is empty and the UI holds the rules. Next: one Domain file (/ark-place) then one small refactor (/ark-autopilot). Soft. Silent when there is no frontend or Domain already has files. No /ark-domain. Do not invent a Domain house.
  • When doctor JSON has prototypeShortcuts, SQLite / a JSON-file store is standing in for Persistence, or admin / god-mode literals sit outside Domain (or an auth tag). Next: one Persistence adapter or Domain policy file (/ark-place) then one small refactor (/ark-autopilot). Soft. Silent when those houses are absent, the shortcut is already in the right house, or there are no such markers. No /ark-prototype. Do not invent a Persistence house.
  • When the tree is adopted and doctor JSON has invariantTestsPath (or the check names INVARIANT_TESTS_PATH_MISSING), the next step is coverage.testGlobs or coverage.coverageRoots on a real tests folder. Fail-closed. Silent when not adopted, the catalog is empty, or every invariant sets coverage.test false. Handoff /ark-adopt to write the path. No new skill.
  • When any invariant is enforced and doctor JSON has invariantCoverageRoots (or the check names INVARIANT_COVERAGE_ROOTS_MISSING), the next step is coverage.coverageRoots on the folder the test runner uses. Fail-closed. testGlobs alone is not enough. Silent when no invariant is enforced. Handoff /ark-adopt to write the roots. No new skill.
  • When an invariant declares coverage.symbol, read the witness path (symbolEvidenceFile) and the discard line on doctor and --rules-inventory, including when the run is green. A declaration in a non-test file is not “the tests pass” — ArkGate never runs tests. Depth and byte caps stay internal; the counts are what you read.
  • When doctor JSON has orphanModules with files listed, map them: nothing imports each file and no entry point covers it. Read certainty — maybe-dynamic and maybe-unresolved may still be loaded (open what the evidence names). A partial section is never a complete list. --doctor --all adds exports nothing imports by name. Map only; deleting is /ark-fix, one file at a time. A framework or loader ArkGate does not know goes in .ark/entry-points.json with a reason. Never say "dead code". No new skill.
  • A doctor green / Healthy line must name a file, config key, or test. Uncited green is a lie — treat it as unfinished. No /ark-cite.
  • Distinguish missing skills vs stale catalog. Installed ≠ stale.
  • Hook green is not tree green (scripted edits bypass PreToolUse).
  • Bug / false green / false red / missing doc / improvable behavior in ArkGate itself → draft one upstream GitHub issue (pedroknigge/arkgate or the installed package repository.url), ask the human to confirm send, then gh issue create. Never auto-file. Never file ArkGate defects on the consumer product repo.

Read the full file on GitHub · 548 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago Changed · +7 lines 5034ab311271
  2. 27d ago Changed · +2 lines 99783b396908
  3. 28d ago Changed · +12 lines 486a270bc8a2
  4. 1mo ago Changed · +8 lines 123a6f35f7dd
  5. 1mo ago Changed · +5 lines 7ca98fd435cb
  6. 1mo ago Changed · +8 lines e572e5bf487b
  7. 1mo ago Changed · +4 lines 62e36f0add89
  8. 1mo ago Changed · +8 lines d758a9fd98b7
  9. 1mo ago Changed · +1 lines 51987d112220
  10. 1mo ago First seen · 493 lines · 24 tokens per session scan A f1970d7d3bfa

Subscribe to this mod's changes

ark-explore is a skill published in the GitHub repository pedroknigge/arkgate (1 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 9,604 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

architecture-patterns

Software architecture patterns and best practices.

aAAaqwq/AGI-Super-Team · 10 tokens

Architecture Change Communication

Ensure architecture updates document affected stakeholders, notification plan, and deprecation/retirement signals to keep knowledge aligned.

s977043/river-review · 26 tokens

code-review-architecture

Architecture-focused code review covering hexagonal boundary violations, DDD anti-patterns, CQRS misuse, and microservices coupling issues. Applied in addition to the language-specific review skill when architecture markers are detected. Invoked when reviewing hexagonal architectures, DDD patterns, or microservices…

soulcodex/agentic · 63 tokens

design-patterns

Design Patterns, SOLID & Clean Architecture: Reference guide and advisor for software design patterns, SOLID principles, Clean Code practices, and Clean Architecture. Use whenever the user asks about design patterns, SOLID principles, Clean Code, Clean Architecture, DDD, refactoring, code organization, coupling…

camilooscargbaptista/cto-toolkit · 138 tokens

improve-codebase-architecture

Use when surfacing architectural friction inside a single EVOKORE bounded context and proposing deepening refactors (shallow modules, leaky seams, low locality) that turn shallow modules into deep ones — informed by ADR-0005 bounded contexts and the project's domain language.

mattmre/EVOKORE-MCP-PUBLIC · 61 tokens

architecture-patterns

Software architecture patterns and best practices.

miles990/claude-software-skills · 10 tokens