A modular, constraint-based skill set for Autonomous AI coding agents.
This repository transforms any general-purpose LLM (Claude, Gemini, GPT-4) into a disciplined Rust engineering team. It adheres to the Agent Context Protocol (ACP) to provide self-describing skills that explicitly define their triggers, capabilities, and execution phases.
We do not use monolithic instruction files. Instead, every skill in skills/ follows the Brain-Tool-Context architecture to maximize token efficiency:
- Driver (
SKILL.md):- The Brain. Contains minimal YAML metadata (
trigger,rpi_phase) and high-level role benchmarks. - Usage: The agent reads this first to decide if it is relevant.
- The Brain. Contains minimal YAML metadata (
- Tools (
scripts/):- The Hands. Executable code (Shell scripts, Rust binaries) for reliable, deterministic task execution.
- Usage: The agent executes these to perform work (e.g.,
init_project.sh,explain_error.sh).
- Context (
references/):- The Knowledge. Deep-dive documentation and "Dictionaries of Pain".
- Usage: "Lazy loaded" by the agent only when specifically needed to solve a complex problem.
This repository is a compliant Claude Plugin.
- Clone this repository locally.
- Allow Claude to discover the
.Claude-plugin/marketplace.jsonmanifest. - Result: Claude will automatically see "Rust Kernel" and "Lint Hunter" as available tools.
Compatible with the Gemini CLI tool via the Model Context Protocol (MCP). This repo provides a dynamic server that auto-discovers skills.
- Link Extension:
gemini extensions link . - Activate:
gemini context set rust-agentic-skills - Result: The
rust-agentic-skillsserver starts up, reads yourskills/directory, and dynamically routes your requests to the appropriate skill (e.g., "Lint Hunter").
Running the MCP Server Manually: You can run the server directly to verify standard JSON-RPC communication:
cargo run --release --bin rust-agentic-skills(Expects JSON-RPC messages on stdin)
For generic agents (ChatGPT, heavily customized setups):
- System Prompt: Load AGENTS.md as your system instruction. It defines the RPI (Research → Plan → Implement) loop.
- Context Loading: When the agent enters a specific phase (e.g., "Verification"), manually load the relevant
SKILL.md(e.g.,skills/lint-hunter/SKILL.md).
We welcome new skills! Follow the Triad Pattern:
- Create Directory:
skills/<your-skill-name>/. - Create Driver: Add
SKILL.mdwith YAML frontmatter:--- name: My Skill description: What it does. rpi_phase: Implementation trigger: - "keyword1" - "keyword2" capabilities: - capability 1 ---
- Add Tools: Put executable scripts in
skills/<your-skill-name>/scripts/. - Add Context: Put documentation in
skills/<your-skill-name>/references/. - Generate Docs: Run
make docto updateAGENTS.md.
- Multi-Agent Beast Mode: Chaining multiple skills in a single "Beast Mode" loop without human intervention.
- New Skill:
Test Architect(Refactoring & property-based testing). - New Skill:
Crates.io Scout(Dependency analysis). - Automated CI: GitHub Action to run
make verifyon PRs.
MIT