Portable agent instructions, repo-convention skills, and bootstrap files for Codex, Claude Code, and other coding agents.
This repository is a personal public toolkit for making AI coding sessions start from the same operating principle:
Inspect the target repo first, load only the relevant skill, follow local conventions, and finish with validation evidence.
For change-bearing work, this expands to: identify the branch intent from evidence, make uncertainty explicit, derive verification scenarios before choosing tools, promote only accepted corrections into repo memory, and remove completed task resources safely.
AI coding agents waste a surprising amount of time rediscovering the same context: dependency and build tooling, scripts, architecture boundaries, validation commands, branch rules, and local style. They also drift when every tool has its own separate instruction file.
agents-configs keeps the reusable parts in a vendor-neutral .agent-core/ directory and uses thin tool-specific entrypoints for Codex and Claude.
The goal is not to create a giant prompt. The goal is to keep agent behavior small, portable, inspectable, and easy to copy into new or existing repositories.
.agent-core/
blueprints/ reusable skill and repo-profile templates
scripts/ deterministic context and inspection helpers
skills/ vendor-neutral operational skills
.agents/ formal Agent Skills discovery adapters
.codex/ Codex entrypoint that points to .agent-core
.claude/ Claude entrypoint that points to .agent-core
docs/ architecture and skillset notes
scripts/ bootstrap tools for copying configs into a target repo
Core skills:
repo-convention-intelligence: inspect stack, commands, tests, and local conventions before acting.risk-to-confidence: orchestrate an uncertain change through contract, build, integration, and evidence gates.task-cleanup: safely remove completed task worktrees, external task directories, and local and remote branches.engineering-excellence-harness: guide non-trivial implementation, refactor, and release-risk work.executive-operating-harness: guide roadmap, positioning, product, and strategy decisions.intent-capture: turn repeated explanations and tacit judgment into durable docs, profiles, or skills.taste-calibration: turn implicit quality judgment into reusable rubrics and failure signs.skill-system-architect: design and maintain reusable agent skills without bloat.verification-layer: design checks, metrics, rubrics, and review loops for generated output.testing: turn branch evidence into behavior lifecycle, scenario axes, and risk-proportional validation.code-style,design-system,pr-checklist: task-specific operating skills.
Copy both Codex and Claude entrypoints into a target repo:
./scripts/bootstrap.sh all /path/to/projectOr keep this repo as the single source of truth with symlinks:
./scripts/bootstrap.sh --link all /path/to/projectOr copy only one tool entrypoint:
./scripts/bootstrap.sh codex /path/to/project
./scripts/bootstrap.sh claude /path/to/projectThen inspect the target repo before asking an agent to edit code:
cd /path/to/project
.agent-core/scripts/inspect-repo.sh .The bootstrap script installs .agent-core/, .agents/, and the selected tool-specific entrypoint: it copies by default and links with --link. It may replace or overwrite matching paths according to the selected options, so review local changes before committing.
Check an installed project:
./scripts/doctor.sh /path/to/project allUse codex or claude instead of all for a strict single-tool check. Omit the mode to require the common core and formal skill discovery paths while treating tool-specific directories as optional.
Agents should select the workflow implicitly only for a non-trivial change that spans planning, implementation, integration, and verification. You may also invoke it explicitly and name an earlier exit point, such as a Risk Map or Contract, without authorizing implementation:
Codex: $risk-to-confidence <request>
Claude Code: /risk-to-confidence <request>
Running R2C does not create planning files by default. It persists a Contract, Plan, or Evidence pack only when the user supplies a location or authorizes an existing repository convention. See the R2C workflow guide for phase gates, execution levels, artifacts, and verdicts.
See docs/SYMLINK_INSTALLATION.md for the copy-vs-symlink strategy.
- Run
.agent-core/scripts/inspect-repo.sh .. - Read
.agent-core/skills/repo-convention-intelligence.md. - Separate the default-branch baseline from current branch evidence.
- State the intended behavior and confidence before selecting tools.
- For end-to-end non-trivial delivery, load
risk-to-confidence; otherwise load only the task-specific skill from.agent-core/skills/index.md. - Make the smallest useful change that follows the target repo.
- Validate applicable primary, failure, boundary, and state-transition risks.
- Report generated versus executed evidence and promote only human-accepted corrections.
- After delivery is preserved, run
task-cleanupfor any dedicated task worktree, directory, or branch.
docs/UNIVERSAL_SKILLSET_BLUEPRINT.mddocs/AGENT_OPERATING_MODEL.mddocs/RISK_TO_CONFIDENCE.mddocs/SYMLINK_INSTALLATION.md.agent-core/README.md.agent-core/skills/index.md.agent-core/skills/risk-to-confidence/SKILL.md.agent-core/skills/task-cleanup/SKILL.md.agent-core/blueprints/skill-template.md.agent-core/blueprints/profile-template.md.agent-core/blueprints/verification-baseline-template.md
- Context first: inspect the current repo before applying generic advice.
- Intent before tooling: identify changed behavior before selecting a runner, framework, or test layer.
- Explicit uncertainty: separate observed evidence, inference, and human-reviewed policy.
- Automation before repetition: use scripts for repeatable convention discovery.
- Shared source, thin adapters: keep reusable rules in
.agent-coreand point each agent entrypoint at it. - Progressive disclosure: load only the skill needed for the task.
- Local conventions win: target repo rules override portable defaults unless unsafe.
- Evidence over intuition: finish with files, commands, logs, tests, or a clear blocker.
- Intent capture: turn repeated explanations and tacit judgment into durable docs or skills.
- Taste calibration: convert "what good looks like" into compact rubrics future agents can reuse.
- Verification layer: do not trust generated output without checks, metrics, or rubrics.
- Correction as memory: promote accepted lessons, not raw generated output, into the default-branch baseline.
- Portable core: keep project secrets, branch names, and volatile release details out of reusable skills.
- This is not a package manager, framework, or runtime dependency.
- This is not a replacement for project-specific
AGENTS.md,CLAUDE.md, or security policy. - This is not a giant all-purpose prompt that should be loaded on every turn.
- This is not tied to any single open-source project or product workflow.
- This repo should not store private project details, credentials, or one-off release state.
This is a lightweight personal toolkit, not a versioned product yet. Expect the skill files to evolve as repeated agent workflows become clearer.