claude

foundry

Claude Code configuration and workflow maintenance: 11 skills, 10 specialist agents, rules, hooks, audit, calibration, and session handover

31 on GitHubby Jirkav0.78.1Apache-2.0updated today
/

Plugin foundry from marketplace borda-ai-rig in Borda/AI-Rig. Commands read from the repo's manifest — today.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (11)

  • audit

    Full-sweep quality audit of .claude/ config — cross-references, permissions, model tiers, docs freshness. Scope tokens select what to audit; --upgrade applies docs-sourced improvements; --adversarial runs foundry:challenger + Codex adversarial review; --efficiency sweeps model tiers, token bloat, sp

  • brainstorm

    Iterative brainstorming skill for turning fuzzy ideas into approved tree documents. Diverges into branches, deepens and prunes them over many rounds, saves a tree doc. Run breakdown on the tree to distill it into a spec via guided questions. SKIP: a content outline to co-create, or one already appro

  • calibrate

    Calibration testing for agents and skills. Generates synthetic problems with known outcomes (quasi-ground-truth), runs targets against them, measures recall, precision, confidence calibration — reveals whether self-reported confidence scores track actual quality.

  • create

    Interactive outline co-creation for developer advocacy content — collects format, audience profile, story arc (Problem→Journey→Insight→Action), and voice/tone; detects out-of-scope requests (FAQs, comparison tables); surfaces conflicts between user brief and audience needs. Writes approved outline t

  • distill

    One-time snapshot extracting patterns from work history and accumulated lessons, distills into concrete improvements — new agent/skill suggestions, memory pruning, consolidating lessons into rules/agent updates, or performing bin/ extraction from /foundry:audit --efficiency candidates. Roster bounda

  • humanizer

    Strip AI-writing tells from prose destined for humans — docs, PR/commit bodies, reports, release notes, blog posts, Slack/email drafts. Removes LLM-vocabulary clichés (delve, boasts, testament, underscore, robust, tapestry...), banned constructions (not just X but Y, rule-of-three triads, "-ing" sup

  • investigate

    Systematic diagnosis for unknown failures — local environment, tool setup, CI vs local divergence, hook misbehavior, and runtime anomalies. Gathers signals broadly, ranks hypotheses, uses adversarial review (Codex or foundry:challenger) for ambiguous cases, probes each, and reports root cause with a

  • manage

    Create, update, or delete agents, skills, and rules; content-edit or delete hooks (hook creation and rename not implemented). Full cross-reference propagation. Trivial Markdown edits (typos, small fixes ≤10 words) applied inline without agent; agent/skill Markdown content-edits delegated to foundry:

  • profile

    Session clock-time AND token/cost analyzer. Reads the foundry plugin's timings.jsonl and invocations.jsonl logs (written by task-log.js) for wall-time, plus Claude Code transcripts (~/.claude/projects/**, main-loop + subagent files) for token usage and USD cost, and merges both into one per-session

  • session

    Session state that outlives a context reset — `dump` sweeps the live conversation and writes a compact handover doc (goal, decisions + why, lessons, standing instructions, files-touched table, outstanding items, next step), then prints `/clear`; the `session-restore.js` SessionStart hook re-injects

  • setup

    Post-install setup for foundry plugin. Run once after installing on a new machine, or after a plugin version upgrade to sync settings and symlinks. Merges statusLine, permissions.allow, enabledPlugins, advisorModel, and env defaults (CLAUDE_CODE_ENABLE_TODO_TOOLS) into ~/.claude/settings.json; symli

Subagents (10)

  • challenger

    Adversarial review — drills to bedrock, treats claims as unproven until evidence. NOT for: plan design (foundry:solution-architect), test coverage (foundry:qa-specialist), config formatting (foundry:curator). TRIGGER: \"challenge this\", \"devil's advocate\", \"poke holes in\". SKIP: wants implement

  • creator

    Content specialist — blog posts, slide decks, social threads, talk abstracts, animated SVGs, short-video HyperFrames compositions. Reads approved outline, applies four-beat arc. NOT for in-code docs/README/FAQs (foundry:doc-scribe), release notes (oss:release), media processing (transcode/trim/trans

  • curator

    Config quality reviewer. Scope: Claude config markdown — agents, skills, rules, CLAUDE.md/AGENTS.md, memory files (MEMORY.md) — verbosity, duplication, cross-refs, roster overlap; applies fixes. NOT for hooks (foundry:sw-engineer), ADRs (foundry:solution-architect), adversarial challenge (foundry:ch

  • doc-scribe

    Docs specialist — docstrings, API refs, README, standalone FAQ/comparison tables; mechanical changelog/contributor work delegated by /oss:release. NOT for release policy (oss:shepherd), independent release generation (/oss:release), linting (foundry:linting-expert), implementation (foundry:sw-engine

  • linting-expert

    Python static analysis — ruff, mypy, pre-commit, lint/type fixes, type annotations. NOT for CI topology (oss:cicd-steward), test logic (foundry:qa-specialist), non-style implementation (foundry:sw-engineer), docstring content (foundry:doc-scribe). TRIGGER: "is this clean", "lint issues", "check type

  • perf-optimizer

    Perf engineer — CPU/GPU/memory/I/O bottlenecks, DataLoader throughput, PyTorch tuning; static performance-plan reviews. Profile-first, measures before changing. NOT for refactoring (foundry:sw-engineer), architecture (foundry:solution-architect), DataLoader correctness (research:data-steward). TRIGG

  • qa-specialist

    QA specialist writing/fixing tests. Black-box tester: public API surface, expectations from docs not implementation. NOT for linting (foundry:linting-expert), implementation (foundry:sw-engineer), test perf (foundry:perf-optimizer), non-Python frameworks. TRIGGER: "write tests for", "add unit tests"

  • solution-architect

    Architectural spec specialist — ADRs, API design, migration plans, component diagrams. Reads code, produces specs only. NOT for implementation (foundry:sw-engineer), release mgmt (oss:shepherd), adversarial challenge (foundry:challenger), perf tuning (foundry:perf-optimizer). TRIGGER: "how should I

  • sw-engineer

    Senior SW engineer writing/refactoring Python — features, bugfixes, TDD, SOLID. Also authors hook JS files under hooks/. NOT for docs (foundry:doc-scribe), lint config (foundry:linting-expert), system design (foundry:solution-architect), test coverage (foundry:qa-specialist), read-only third-party r

  • web-explorer

    Fetches web pages, API docs, external package/release info — version lookups, GitHub release extraction, docs scraping. NOT for local code analysis, ML paper analysis (research:scientist), internal docs (foundry:doc-scribe), local codebase search except dependency pin lookup. TRIGGER: "check the REA

Hooks (30)

  • PostCompact

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/task-log.js"; done; exit 0

  • PostToolBatch

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/batch-nudge.js"; done; exit 0

  • PostToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/md-compress.js"; done; exit 0

  • PostToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/task-log.js"; done; exit 0

  • PostToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/lint-on-save.js"; done; exit 0

  • PostToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/artifact-guard.js"; done; exit 0

  • PostToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/audit-close.js"; done; exit 0

  • PostToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/enforce-audit-header.js"; done; exit 0

  • PostToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/enforce-profile-header.js"; done; exit 0

  • PostToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/rule-inject.js"; done; exit 0

  • PostToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/approval-guard.js"; done; exit 0

  • PostToolUseFailure

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/task-log.js"; done; exit 0

  • PostToolUseFailure

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/audit-close.js"; done; exit 0

  • PostToolUseFailure

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/rule-inject.js"; done; exit 0

  • PreCompact

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/task-log.js"; done; exit 0

  • PreCompact

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/rule-inject.js"; done; exit 0

  • PreToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/agent-router.js"; done; exit 0

  • PreToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/task-log.js"; done; exit 0

  • PreToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/rtk-rewrite.js"; done; exit 0

  • PreToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/commit-guard.js"; done; exit 0

  • PreToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/gh-write-guard.js"; done; exit 0

  • PreToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/approval-guard.js"; done; exit 0

  • PreToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/allow-dispatch.js"; done; exit 0

  • PreToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/write-guard.js"; done; exit 0

  • PreToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/write-guard.js"; done; exit 0

  • PreToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/write-guard.js"; done; exit 0

  • PreToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/enforce-audit-header.js"; done; exit 0

  • PreToolUse

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/enforce-profile-header.js"; done; exit 0

  • SessionEnd

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/task-log.js"; done; exit 0

  • SessionEnd

    for n in node /opt/homebrew/bin/node /usr/local/bin/node; do command -v "$n" >/dev/null 2>&1 && exec "$n" "${CLAUDE_PLUGIN_ROOT}/hooks/audit-close.js"; done; exit 0

View source on GitHub borda.github.io

More from Borda/AI-Rig

All 7 plugins →

Fifteen evidence-first Codex workflows, one legacy-shim lifecycle manager, fifteen specialist role cards, shared gates, and reviewable artifacts.

16 skills · hooks

31

research

claude

Reviewable ML research: literature, planning, methodology review, bounded runs, sweeps, implementation verification, ablations, retrospectives, Kaggle, and setup

10 skills · 2 agents · hooks

31

oss

claude

Open-source maintenance: issue and repository analysis, PR review, feedback resolution, release-readiness assessment, setup, and 4 specialist agents

5 skills · 4 agents · hooks

31

develop

claude

Validate-first Python development: plan, feature, fix, refactor, debug, review, and setup workflows

7 skills · hooks

31

bridge

claudecodex

bridge_CC-Codex: guided setup plus bounded implementation, advice, and review across Claude Code and Codex.

7 skills

31

codemap-py

claudecodex

Static Python structure for Claude Code: indexing, queries, test impact, reference renames, integration, and session telemetry debriefs

6 skills

31

Similar plugins

Matt Pocock's agent skills for real engineering (grilling, spec/ticket flows, TDD, code review, domain modelling and more).

39 skills

mattpocock/skills 323,108

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

nextjs

claude

Official Next.js skills: adopt and optimize Cache Components, adopt Partial Prefetching, and verify runtime behavior against a running dev server.

6 skills

vercel/next.js 143,495

claude-mem

claudecodex

Persistent memory for Claude Code: the next session starts where the last one left off.

29 skills · 1 MCP server · hooks

thedotmack/claude-mem 116,618

Taste Skill

claudecodex

tasteskill 2.5.1: professional company websites at the figma.com and x.ai level, with one section per screen, real photographs, real product UI, effects kept for tech and gaming pages, and a real-browser checker and finish gate.

1 skill

Leonxlnx/taste-skill 114,391

mem0

claudecodex

Cross-session memory and token savings for coding agents.

6 skills · 1 agent · 1 MCP server · hooks

mem0ai/mem0 68,893

Maintain foundry?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins7 plugins