consult

consult is a skill for Claude Code from mhashim6/kauri. It costs 37 tokens per session (533 once invoked), scanned A, original, MIT.

A workflow for checking recorded Kauri decisions, which are saved architectural and convention choices, before changing a codebase.

In plain words
What is it for?
Use it before planning changes, choosing libraries, changing coding conventions, or editing files that may be covered by an existing decision.
Why use it?
It helps prevent new work from contradicting decisions the team has already made or repeating decisions without their original reasoning.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the kauri plugin — 5 skills, 2 hooks, 1 MCP server shipped together

Good fit Use it before planning changes, choosing libraries, changing coding conventions, or editing files that may be covered by an existing decision.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mhashim6/kauri/consult
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 mhashim6/kauri --skill consult
Clone the repo
git clone --depth 1 https://github.com/mhashim6/kauri

Made for: Claude Code.

Or install kauri, the plugin that ships this one along with the rest of its 5 skills, 2 hooks, 1 MCP server.

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 consult

README.md
[![agentmods](https://agentmods.dev/badge/skills/mhashim6/kauri/consult/github.svg)](https://agentmods.dev/skills/mhashim6/kauri/consult)
Your own site
<a href="https://agentmods.dev/skills/mhashim6/kauri/consult"><img src="https://agentmods.dev/badge/skills/mhashim6/kauri/consult/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 consult

Your own site · 80×15
<a href="https://agentmods.dev/skills/mhashim6/kauri/consult"><img src="https://agentmods.dev/badge/skills/mhashim6/kauri/consult.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 533 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.00037 $0.00533
Opus 5.5 $0.00015 $0.00213
Sonnet 5.5 $0.00007 $0.00107
Haiku 4.5 $0.00004 $0.00053

Measured 1mo ago against content hash d59a3c0e6202, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

consult 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 1mo 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.

plugins/claude-code/skills/consult/SKILL.md · 49 lines

What it actually says

Consult Existing Decisions

Before planning or implementing changes, check whether existing decisions are relevant. This prevents accidentally contradicting past choices.

Steps

  1. Search by topic: Run kauri_query with --text "$ARGUMENTS" and --scope both to find decisions across project and user scopes. If the argument is a file path, also search with --file to find decisions associated with that file.

  2. Broaden if needed: If the text search returns nothing, try searching by related tags (use kauri_taxonomy_list to see available tags, then kauri_query with --tags).

  3. Read the full body: For every decision that looks relevant, call kauri_show <id> to read the complete rationale — not just the title.

  4. Report what you found: Before proceeding with the plan, tell the user:

    • Which decisions are relevant and what they say
    • Whether the proposed work is consistent with those decisions
    • Whether any decisions conflict with the proposed approach
    • Whether any decisions should be superseded by the new work
  5. Proceed accordingly:

    • Consistent: Continue with the plan, noting which decisions support it.
    • Conflicts: Ask the user whether to (a) adjust the plan to respect the decision, or (b) supersede the decision with kauri_record --supersedes.
    • No relevant decisions found: Proceed normally, and consider whether the new work itself warrants a new decision record.

When to use this

  • Before any architectural or design planning
  • Before changing conventions, APIs, or boundaries
  • Before modifying files that appear in the session-start decision index
  • When the user says "let's add", "let's change", "let's refactor", or "how should we"
  • When you're unsure whether a past decision covers the current topic
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. 1mo ago First seen · 49 lines · 37 tokens per session scan A d59a3c0e6202

Subscribe to this mod's changes

consult is a skill published in the GitHub repository mhashim6/kauri (5 stars, last pushed 6mo ago), licensed MIT. It adds 37 tokens to every session and 533 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

agent-state-bar

A design guide for an agent status bar: a short, automatically updated summary of progress, remaining tasks, tool counts, errors, and system state placed near the latest model input.

bojieli/ai-agent-book · 105 tokens

context-engineering

A guide to organizing the instructions and information an AI agent receives at each step. It covers system prompts, tool descriptions, conversation history, on-demand skills, and protections against unsafe outside content.

bojieli/ai-agent-book · 96 tokens

kv-cache-design

A guide to arranging an AI agent's conversation so previously processed text can be reused. A KV cache stores intermediate results for earlier tokens, while a prompt cache reuses a stable beginning across requests.

bojieli/ai-agent-book · 91 tokens

agent-evaluation

A guide to measuring whether an AI agent works reliably on the tasks that matter. It covers repeatable test environments, program checks, human-like scoring rules, failure analysis, and experiments that separate model problems from system problems.

bojieli/ai-agent-book · 133 tokens

knowledge-org

A guide to organising large bodies of knowledge so an AI system can navigate relationships, summaries, and layers instead of searching only flat text chunks. It covers tree indexes, knowledge graphs, file-like structures, incremental updates, and long-term memory layouts.

bojieli/ai-agent-book · 96 tokens

post-training-strategy

A guide to choosing and planning ways to improve an AI model after its initial training. It explains when to add knowledge, teach a response format, use trial-and-error training, or use a smaller model to learn from a larger one.

bojieli/ai-agent-book · 159 tokens