/prometheus-skill-pack:kbd-inject-agent-rulesfrom prometheus-skill-pack
Idempotently inject the agent-rules or UI/UX-routing managed pack into a target project's CLAUDE.md and/or AGENTS.md. Re-runnable — overwrites only the selected fenced region; everything else is byte-preserved. Supports --refresh to re-validate cached source URLs, and --dry-run for a target-file diff preview.
Ships in prometheus-skill-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Inject either the canonical Karpathy + Claude-Code-author rules or the existing-target-first, capability-aware UI/UX routing workflow into a project's agent context files.
--target (default both) at --path (default .).--pack (default agent-rules) to its template,
cache, and managed-marker prefix. For uiux-routing, a project-local
.kbd-orchestrator/references/uiux-skill-roster.md overrides the bundled
roster when present.--refresh, curl-probes each selected cache source URL for
its anchor keyword and updates that cache's Last fetched dates. Refresh
failures warn but don't abort.--dry-run, prints diff -u previews and does not modify target
files. If combined with --refresh, the selected source cache can still
receive its refreshed date because refresh runs before target rendering.mv) so an interrupted
invocation never leaves a half-rewritten file.The uiux-routing pack requires agents to resolve an existing incumbent file,
route, component, or surface before loading Impeccable context. A future path
is recorded as the planned destination, not used as a context root. Named UX
review skills are consulted only when installed: an installed ux-designer
uses its catalog-reported provenance; otherwise the documented fallback is
UI/UX Pro Max plus frontend-design, or UI/UX Pro Max alone when
frontend-design is also absent.
Use --pack agent-rules when a project's CLAUDE.md / AGENTS.md should
carry the canonical Karpathy + Claude Code rule sets. Use --pack uiux-routing
when UI work needs the managed incumbent-discovery and capability-selection
workflow. Run once during setup, then re-run to refresh only the selected
managed fence.
Starting kbd-inject-agent-rules — <target-summary>
Completed kbd-inject-agent-rules — <count> file(s) updated, <count> unchanged
"$KBD_ORCHESTRATOR_ROOT/skills/kbd-inject-agent-rules/kbd-inject-agent-rules.sh" \
[--target CLAUDE.md|AGENTS.md|both] \
[--path <project-root>] \
[--pack agent-rules|uiux-routing] \
[--refresh] \
[--dry-run]
All implemented flags are optional:
| Flag | Accepted value / behavior | Default |
|---|---|---|
--target | CLAUDE.md, AGENTS.md, or both | both |
--path | Existing project-root directory | . |
--pack | agent-rules or uiux-routing | agent-rules |
--refresh | Best-effort URL/anchor validation and selected-cache date refresh | off |
--dry-run | Print target diffs without writing target files | off |
-h, --help | Print usage and exit | — |
/kbd-inject-agent-rules # both files at .
/kbd-inject-agent-rules --target CLAUDE.md # CLAUDE.md only
/kbd-inject-agent-rules --path /Users/me/my-project # different root
/kbd-inject-agent-rules --pack uiux-routing # UI/UX workflow
/kbd-inject-agent-rules --dry-run # preview only
/kbd-inject-agent-rules --refresh # re-validate sources
--target value is not one of CLAUDE.md / AGENTS.md / both → usage error.--pack value is not agent-rules or uiux-routing → usage error.--path does not name an existing directory → usage error.references/cache-agent-rules.md (legacy fallback:
references/rules-cache.md)references/template-agent-rules.md (legacy fallback:
references/template.md)references/cache-uiux-routing.mdreferences/template-uiux-routing.mdkbd-inject-agent-rules.sh (opens in a new tab)references/cache-agent-rules.md (opens in a new tab)references/cache-uiux-routing.md (opens in a new tab)references/rules-cache.md (opens in a new tab)references/template-agent-rules.md (opens in a new tab)references/template-uiux-routing.md (opens in a new tab)references/template.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-skill-pack218 skills in this plugin
/actor-modelTokio-native actor model pattern for Prometheus AGS projects. Implements actors as tokio tasks communicating via mpsc channels with a typed message enum, enabling safe concurrent state management without shared locks. Used in UAR session management, pk-librarian event broadcasting, and parking-lot scheduler design. Use when a component needs to own state exclusively while serving concurrent callers.
/adversarial-reviewIsolated, cross-model adversarial review of KBD artifacts and change diffs. Dispatches a fresh-context LLM judge over an OpenAI-compatible REST gateway (openai-proxy or `liter-llm api`) with an explicit mandate to find problems — the model that produced an artifact or change is never the model that reviews it. Runs as a pipeline stage inside kbd-assess/analyze/plan (artifact mode) and kbd-execute's single phase-boundary QA step (diff mode, once over the whole phase diff). Findings are severity-bucketed (CRITICAL/WARNING/SUGGESTION) and the judge's own report is screened by sycophancy-correction before it is surfaced.
/agent-team-creatorCreate, revise, package, and deploy agent-team definitions with staged questions and native exports for UAR, Codex, Claude Code, Copilot, Kimi Code, MiniMax CLI, OpenCode and DeepSeek. Use for team definition and catalog lifecycle; use agent-team-manage for active runtime task state.Other plugins' skills for the same job
2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026