AgentStack
SKILL verified Apache-2.0 Self-run

Meta Maintain Config

skill-grimoire-rs-grimoire-meta-maintain-config · by grimoire-rs

Use when creating or editing skills, rules, agents, or hooks under `.claude/`. Also when AI knowledge has drifted from project patterns, a new Claude Code feature lands, or syncing artifacts to current state. Modes: `create`, `audit`, `refresh`, `review`, `research <topic>`.

No reviews yet
0 installs
1 views
0.0% view→install

Install

$ agentstack add skill-grimoire-rs-grimoire-meta-maintain-config

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README — it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-grimoire-rs-grimoire-meta-maintain-config)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
today

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Meta Maintain Config? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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 /swarm-plan (Phases 1-2). Spawn workers parallel:
  • worker-explorer (1-2): existing .claude/ patterns, conventions, cross-references, neighbors of artifact
  • worker-researcher (1-3, split by axis): Claude Code docs (code.claude.com/docs), domain best practices, community patterns for artifact topic

Persist substantial findings as .claude/artifacts/research_[topic].md for reuse. See /swarm-plan "Research as a Reusable Primitive".

  1. 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
  1. Integrate — Update CLAUDE.md tables, meta-rule inventory
  1. Validate — Run audit checks (see below)

audit — Check All Artifacts

Context budget audit:

  • CLAUDE.md under 200 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?

Duplication audit:

  • Same instruction in CLAUDE.md AND rule? (single source of truth)
  • Same domain knowledge in skill AND rule? (skill for on-demand, rule for always-on)

refresh — Sync AI Knowledge with Codebase

  1. Detect drift — Spawn worker-explorer agents:
  • Public types in subsystem-*.md still exist in code?
  • New modules/crates lacking subsystem rules?
  • Error variants, trait names, method signatures still match?
  • CLI commands changed (new flags, subcommands)?
  • deny.toml / .licenserc.toml changed?
  1. Research updates — Spawn worker-researcher:
  • Claude Code docs for new features (hooks, frontmatter, agents)
  • New best practices in Rust, async, testing, security
  • Check if meta-ai-config.md needs updating
  1. Update stale artifacts — Read current code, update with accurate info, preserve structure
  1. Self-update — Check if this skill (meta-maintain-config) or meta-ai-config.md outdated per research findings. Update them too.
  1. Validate — Run audit mode

review — AI Config Quality Review

Review recent changes to .claude/ for quality:

  1. Context budget — Change increase always-loaded context? Justified?
  2. Scoping — Could this global rule be path-scoped instead?
  3. Progressive disclosure — SKILL.md body under 500 lines? Move details to reference files?
  4. Description quality — Skill description specific enough for auto-discovery?
  5. Anti-patterns — Check against 8 anti-patterns in meta-ai-config.md
  6. Consistency — Change follow existing artifact conventions?
  7. Reusability — Hook more appropriate than rule? (deterministic + zero context cost)

catalog-sync — Catalog Drift Review

When auditing AI config, verify .claude/rules.md reflects reality:

  1. Every rule in .claude/rules/*.md has entry in .claude/rules.md
  2. Every catalog entry resolves to real file
  3. CLAUDE.md still links to catalog
  4. "By concern" table reflects current development axes (add rows for new concerns; remove for retired)
  5. "By auto-load path" table matches actual paths: frontmatter in each rule file

Run task claude:tests — structural tests catch most drift automatically (test_catalog_covers_all_rules, test_catalog_references_resolve, test_claude_md_points_to_catalog). Manual review catches semantic drift (e.g., new concern worth catalog row even if no test complains).

research — Deep-Dive Topic

Invoke canonical multi-agent research primitive from /swarm-plan (Phases 1-2). No reinvent.

  1. Spawn workers parallel — per /swarm-plan Phase 2 axis-splitting:
  • worker-researcher × 2-3, split by axis:
  • Tooling axis — Claude Code / AI tooling best practices
  • Domain axis — Rust patterns, OCI spec, cargo-deny, etc.
  • Community axis — how other projects handle this
  • worker-explorer (optional) — ground external findings in existing .claude/ artifacts
  1. Synthesize → Actionable guidance. Persist as .claude/artifacts/research_[topic].md
  2. Apply → Update relevant artifacts

Refresh Targets

| Artifact | What goes stale | Refresh trigger | |----------|----------------|-----------------| | subsystem-*.md rules | Types, paths, signatures, error variants | After refactors, new modules | | quality-rust.md (+ other quality-*.md) | Language anti-patterns, async conventions, 2026 updates | After edition/release updates, new tooling | | arch-principles.md | Design principles, ADR index, code style conventions | After new patterns, new modules | | Persona skills | Implementation patterns, fixtures, commands | After new commands, workflows | | Agent definitions | Patterns, self-review checklists | After quality-*.md changes | | deps | License allowlist, tool versions | After deny.toml changes | | CLAUDE.md | Build commands, env vars, layout | After new crates, env vars | | meta-ai-config.md | Conventions, budget numbers, anti-patterns | After Claude Code releases | | This skill | Modes, workflow, refresh targets | After Claude Code releases |

Maintenance Schedule

| Frequency | Action | |-----------|--------| | Every feature branch | audit before merging AI config changes | | Monthly | refresh to detect drift | | On Claude Code update | research "Claude Code new features" then self-update | | On new tool integration | create for tool's skill/rule, then audit | | When something feels off | review recent changes |

Constraints

  • ALWAYS research online before creating AI artifacts
  • ALWAYS spawn at least one worker-researcher for domain knowledge
  • ALWAYS check context budget impact (adding always-loaded context?)
  • NEVER remove artifacts without checking cross-references first
  • NEVER edit settings.json hooks without testing hook script
  • Prefer hooks over rules for enforcement (deterministic + zero context cost)
  • Commits use chore: prefix (per project convention)

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.