Skip to main content

Bootstrap and manage agent skills in brownfield repos

Project description

Skills — Agent Skills Monorepo

A monorepo of 34 composable skills for AI coding agents (Cursor, Claude Code, OpenCode) with an agents-setup CLI to bootstrap them into any brownfield repository. Supports multi-vendor installation, graph-first code exploration, and autonomous Ralph iterations.

What this is

  • A working monorepo of 34 agent skills — TDD, brainstorming, architecture analysis, PRDs, triage, and more.
  • A bootstrapperagents-setup init ports skills, Cursor/OpenCode config, MCP wiring, and Ralph loop tooling into any repo with a single command.
  • An autonomous coding rig — Ralph loop + Docker sandbox + parallel job coordinator for hands-off iteration.

Agents in this repo follow AGENTS.md rules: graph-first exploration, Ralph-style iterative slices, and skill routing by task type.

Quick start

Bootstrap skills into a repo

pip install agents_setup

agents-setup init                              # defaults to this repo as source
agents-setup init --source JuanSebastianGB/agents-setup --target /path/to/your/repo

Available commands

agents-setup init       # Bootstrap skills, Ralph scripts, optional MCP + PRD templates
agents-setup update     # Pull latest from source
agents-setup remove     # Clean up installed files

Init options

Flag Effect
--diff Preview changes without writing files
--force Overwrite conflicts without prompting
--symlink Create symlinks instead of copying (for development)
--with-mcp Include .cursor/mcp.json MCP server template
--with-prd-templates Include docs/prd/ starter (PRD.md, prd.json, progress.txt)
--all-scripts Include all scripts from scripts/ directory
--json Machine-parseable output

Run an autonomous iteration

./ralph-once.sh              # Single pass
./afk-ralph.sh 10            # Batch mode (stops on <promise>COMPLETE</promise>)
./ralph-once.sh --cursor     # Use Cursor as agent backend
./ralph-once.sh --sync-issues  # Sync issues from GitHub before running

Skills

By phase

Phase Skills
Design brainstorming, process-interviewer, grill-me, ubiquitous-language
Build tdd, mcp-builder, write-a-skill, sudolang_workflow_planner, prd-copilot
Review skill-quality-audit, skill-metrics, improve-codebase-architecture, principled-architecture
Validate backend-qa-playbook, fact-checker, humanizer, debugger
Plan to-prd, to-issues, request-refactor-plan, ddd-architecture, domain-model
Execute ralph-loop, repo-inspirer, agent-architecture, caveman, conventional-commits, create-readme

Full listing

agent-architecture, auto-improve-skill, backend-qa-playbook, brainstorming, caveman, conventional-commits, create-readme, create-readme-workspace, debugger, ddd-architecture, domain-model, fact-checker, frontend-slides, grill-me, humanizer, improve-codebase-architecture, mcp-builder, postgresql-table-design, prd-copilot, principled-architecture, process-interviewer, ralph-loop, repo-inspirer, request-refactor-plan, skill-metrics, skill-quality-audit, sudolang-skillreducer, sudolang_workflow_planner, tdd, to-issues, to-prd, triage-issue, ubiquitous-language, write-a-skill

Project structure

.
├── agents_setup/              # Python CLI package
│   ├── cli.py                # Entry point
│   ├── commands/             # Deep module (init, update, remove, conflicts, output, install)
│   ├── ports.py              # Abstractions (IGitHubClient, IFileSystem, IConsole)
│   ├── vendors/              # Transform, preview, verify, mcp_merge, registry
│   ├── test_doubles.py       # FakeGitHubClient, InMemoryFileSystem, FakeConsole
│   └── api.py                # GitHub API client
├── ralph_lib/                # Ralph iteration helpers (progress, prd, state)
├── src/                      # Sandbox engine
│   ├── sandbox/              # Docker/host test execution
│   ├── worktree.py           # Git worktree management
│   ├── session.py            # Session state and path rewriting
│   └── parallel.py           # Parallel job coordinator
├── scripts/                  # Ralph bash helpers
│   ├── ralph-once.sh         # Single iteration driver
│   ├── afk-ralph.sh          # Batch iteration driver
│   ├── ralph-common.sh       # Shared prompt and utilities
│   └── ralph_status.sh       # Ralph status CLI
├── docs/
│   ├── prd/                  # PRD artifacts (PRD.md, prd.json, progress.txt)
│   └── research/             # Dated research notes
├── vendors/                  # Vendor-specific install logic
├── tests/                    # Boundary tests + conftest fixtures
├── AGENTS.md                 # Agent behavior rules (graph-first, skill routing)
├── UBIQUITOUS_LANGUAGE.md    # Domain glossary
├── opencode.json             # MCP server config for OpenCode
└── .agents/skills/            # The 34 skills library

Key features

Multi-vendor installation

agents-setup detects and installs into multiple AI IDEs:

  • Cursor — rules (.cursor/rules/*.mdc), skills (.cursor/skills/), MCP configs
  • OpenCode — commands (.opencode/commands/), context paths, MCP servers
  • Claude Code — agents with mode: subagent frontmatter

Code knowledge graph

The repo is indexed with code-review-graph MCP — graph queries are first-class exploration:

  • detect_changes — risk-scored review guidance
  • get_impact_radius — blast radius of changes
  • query_graph — callers, callees, imports, tests
  • get_affected_flows — execution paths impacted

Agents use graph tools before grep/read. See AGENTS.md.

Ralph loop

Autonomous iterations with git-backed memory. Each run: fresh agent context, one vertical slice, PR with Closes #N, merge-to-close. Docker sandbox support with parallel job coordination.

  • ./ralph-once.sh — single pass
  • ./afk-ralph.sh N — batch mode (stops on <promise>COMPLETE</promise>)
  • ./ralph-once.sh --sync-issues — sync GitHub issues first

Auto-release on push to main

Every push to main triggers:

  1. Semantic version bump (from commit message or auto-increment)
  2. GitHub Release with generated notes
  3. PyPI publish (requires PYPI_TOKEN secret)

Architecture highlights

  • agents_setup/commands/ — Deep module split by single responsibility: _conflicts, _install, _output, _tracking, _result
  • agents_setup/ports.pyIGitHubClient, IFileSystem, IConsole interfaces; CommandsContext wires via context variables
  • src/sandbox/ — Provider-agnostic sandbox abstraction (DockerSandboxProvider, TestSandboxProvider)
  • Test doublestest_doubles.py provides FakeGitHubClient, InMemoryFileSystem, FakeConsole for boundary testing without mocking internals

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agents_setup-0.2.0.tar.gz (58.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agents_setup-0.2.0-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

Details for the file agents_setup-0.2.0.tar.gz.

File metadata

  • Download URL: agents_setup-0.2.0.tar.gz
  • Upload date:
  • Size: 58.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agents_setup-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c5c1dba03a15bc7a25f4b8913ba41bc65aae612c55c29dde8fc0e6667276ad16
MD5 d55af7c346293f5c15822164be89a10a
BLAKE2b-256 a6e2ea42b7b0f1feffd0eab2b277999421044dc58d45effafc07b0951e457191

See more details on using hashes here.

Provenance

The following attestation bundles were made for agents_setup-0.2.0.tar.gz:

Publisher: release.yml on JuanSebastianGB/agents-setup

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agents_setup-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: agents_setup-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 32.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agents_setup-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e79a67e87c52cf22880cdecd0e5b316fb043caab187dbc1bc238eaf5524b6bc
MD5 28bd9de9d3d908cf2fcbc1db45fbcb1b
BLAKE2b-256 669c9d3ab0b401177580938d0d35bf9bc317a41ac846add89c1608349520f473

See more details on using hashes here.

Provenance

The following attestation bundles were made for agents_setup-0.2.0-py3-none-any.whl:

Publisher: release.yml on JuanSebastianGB/agents-setup

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page