Borrowing it
Nothing to install: this file belongs to andrew-yangy/gru-ai. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/andrew-yangy/gru-ai/main/.claude/skills/gruai-config/SKILL.mdgit clone --depth 1 https://github.com/andrew-yangy/gru-aiWrote 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.
[](https://agentmods.dev/skills/andrew-yangy/gru-ai/gruai-config)<a href="https://agentmods.dev/skills/andrew-yangy/gru-ai/gruai-config"><img src="https://agentmods.dev/badge/skills/andrew-yangy/gru-ai/gruai-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.
<a href="https://agentmods.dev/skills/andrew-yangy/gru-ai/gruai-config"><img src="https://agentmods.dev/badge/skills/andrew-yangy/gru-ai/gruai-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00986 |
| Opus 5 | $0.00000 | $0.00493 |
| Sonnet 5 | $0.00000 | $0.00197 |
| Haiku 4.5 | $0.00000 | $0.00099 |
Grade A, and why
gruai-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 13d 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.
How it starts
The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Update gruai Framework Files
Update the gruai framework files (skills, pipeline docs, templates) to the latest version. This replaces the old gruai update CLI command.
What This Does
- Backs up existing
.claude/skills/and.claude/hooks/to.gruai-backup/{timestamp}/ - Copies latest skill files from the gruai package
- Copies latest hook scripts (
.shfiles) from the gruai package to.claude/hooks/ - Re-renders
CLAUDE.mdwith the latest template (preserving your agent names)
What It DOES Overwrite (Framework Files)
These are framework files managed by gruai. They get replaced on every update:
.claude/skills/— all skill SKILL.md files and docs/ subdirectories.claude/hooks/*.sh— validation and utility scripts (validate-cast.sh, validate-project-json.sh, validate-reviews.sh, validate-gate.sh, detect-stale-docs.sh)CLAUDE.md— re-rendered from template with your agent names
What It Does NOT Overwrite
.context/— your data (vision, directives, reports, lessons).claude/agent-registry.json— your team names and config.claude/agents/*.md— your personality filesgruai.config.json— your project configuration
Instructions
Step 0: Resolve Package Root
Before reading any package files, resolve the gruai package root directory. This ensures paths work whether gruai is installed via npm, linked locally, or running from source.
GRUAI_ROOT="$(bash "$(npm root)/gru-ai/cli/resolve-pkg-root.sh" 2>/dev/null || bash "cli/resolve-pkg-root.sh")"
All package source paths below are relative to $GRUAI_ROOT (e.g., $GRUAI_ROOT/.claude/skills/directive/SKILL.md).
Step 1: Verify This Is a gruai Project
Check that at least one of these exists:
.claude/agent-registry.jsonCLAUDE.mdgruai.config.json
If none exist, tell the user to run /gruai-agents first.
Step 2: Create Backup
Create a backup directory at .gruai-backup/{YYYY-MM-DDTHH-MM-SS}/.
Copy the existing .claude/skills/ directory tree into the backup.
Copy the existing .claude/hooks/ directory tree into the backup (if it exists).
Copy the existing CLAUDE.md into the backup.
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.
- 13d ago First seen · 89 lines · 0 tokens per session scan A 51809a1f7c6c
gruai-config is a skill published in the GitHub repository andrew-yangy/gru-ai (153 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 986 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-30.
Other skills, from other repositories
diff-driven-docs
Use when a BUILD phase completes, a commit is staged, or a PR is about to be created, and the diff has not yet been reflected in documentation. Also use when the user says "update docs", "sync docs", "document this", or asks whether documentation is up to date.
exploration
Two-mode exploration skill: (1) design dialogue — turn rough ideas into validated designs through collaborative interview before planning; (2) spike — throwaway code answering ONE design question, deleted or absorbed, never shipped. Router invokes mode via dispatch context.
building
Implementation skill for writing production code with TDD. Covers the RED-GREEN-REFACTOR cycle, false-RED detection, vertical slicing, scope escalation, test process discipline, and code generation patterns. Loaded by component-builder and bug-investigator.
memory-and-handoff
Two-mode skill: (1) session memory — load/persist durable workflow state under .cc10x/ (activeContext, patterns, progress) so context survives compaction; (2) handoff package — portable, secrets-redacted export for a coworker, different tool, or fresh non-cc10x session.
plan-review-gate
Use after saving a non-trivial plan or decision RFC when a fail-closed feasibility, completeness, and alignment review must block execution.
planning
Planning discipline for creating execution plans and decision RFCs. Covers task decomposition, context references, validation levels, risk-based testing, ADR format, plan completeness gate, and functionality flow mapping. Loaded by planner agent.