meta-maintain-config

meta-maintain-config is a skill for Claude Code from grimoire-rs/grimoire. It costs 0 tokens per session (1,803 once invoked), scanned A, original, Apache-2.0.

A maintenance guide for skills, rules, agents, and hooks stored under `.claude/`. It helps keep these instructions consistent with the project and current AI-tooling practices.

In plain words
What is it for?
Use it to create, audit, refresh, review, or research `.claude/` artifacts and to keep their structure, scope, and references up to date.
Why use it?
It addresses knowledge drift, where configuration guidance no longer matches the codebase or the tools using it.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

Good fit Use it to create, audit, refresh, review, or research .claude/ artifacts and to keep their structure, scope, and references up to date.

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

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 meta-maintain-config

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/grimoire-rs/grimoire/meta-maintain-config"><img src="https://agentmods.dev/badge/skills/grimoire-rs/grimoire/meta-maintain-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,803 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.00000 $0.01803
Opus 5 $0.00000 $0.00901
Sonnet 5 $0.00000 $0.00361
Haiku 4.5 $0.00000 $0.00180

Measured 9d ago against content hash df977cbb0dca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

meta-maintain-config 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 9d 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.

.claude/skills/meta-maintain-config/SKILL.md · 159 lines

How it starts

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

AI Configuration Maintenance

Keep .claude/ directory living knowledge base. Stay current with project + AI tooling best practices.

Read .claude/rules/meta-ai-config.md first — defines conventions, budget constraints, anti-patterns this skill enforces.

Modes

create — New Artifact

  1. Discover + Research — Invoke canonical multi-agent research primitive from /hex-plan (Phases 1-2). Spawn workers parallel:

    • an explorer pass (1-2): existing .claude/ patterns, conventions, cross-references, neighbors of artifact
    • researcher pass (1-3, split by axis): Claude Code docs (code.claude.com/docs), domain best practices, community patterns for artifact topic

    Persist substantial findings as .agents/research/research_[topic].md for reuse. See /hex-plan "Research as a Reusable Primitive".

  2. Draft — Follow meta-ai-config.md conventions:

    • Respect context budget (<200 lines rules, <500 lines skills)
    • Use paths: scoping for rules unless truly global
    • Skills: write description as "what + when to use" (max 1024 chars)
    • Use progressive disclosure — SKILL.md overview, reference files for detail
    • Add disable-model-invocation: true for action skills with side effects
  3. Integrate — Update AGENTS.md tables, meta-rule inventory

  4. Validate — Run audit checks (see below)

audit — Check All Artifacts

Context budget audit:

  • AGENTS.md under 280 lines?
  • Each global rule under 200 lines?
  • Count global rules — too many degrades performance
  • Skill descriptions total within 2% context budget?

Structural audit:

  • Every SKILL.md has name + description?
  • No allowed-tools in skill frontmatter?
  • All persona skills have user-invocable: true?
  • Hook scripts executable?

Dead glob audit:

  • For each scoped rule, do paths: patterns match existing files?
  • After directory renames, glob patterns silently fail — verify with: find . -path "pattern" | head -1

Cross-reference audit:

  • Rules referencing other rules → targets exist?
  • Skills referencing rules → correct filenames?
  • Agents referencing rules → still valid?

Read the full file on GitHub · 159 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. 9d ago First seen · 159 lines · 0 tokens per session scan A df977cbb0dca

Subscribe to this mod's changes

meta-maintain-config is a skill published in the GitHub repository grimoire-rs/grimoire (10 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,803 tokens. 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

nft-standards

Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.

wshobson/agents · 48 tokens

postgresql-table-design

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

wshobson/agents · 37 tokens

parallel-feature-development

Coordinate parallel feature development with file ownership strategies, conflict avoidance rules, and integration patterns for multi-agent implementation. Use this skill when decomposing a large feature into independent work streams, when two or more agents need to implement different layers of the same system…

wshobson/agents · 105 tokens

istio-traffic-management

Configure Istio traffic management including routing, load balancing, circuit breakers, and canary deployments. Use when implementing service mesh traffic policies, progressive delivery, or resilience patterns.

wshobson/agents · 40 tokens

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens

projection-patterns

Build read models and projections from event streams. Use when implementing CQRS read sides, building materialized views, or optimizing query performance in event-sourced systems.

wshobson/agents · 36 tokens