opencastle
Multi agens orchestration setup for Github Copilot, Cursor, Claude Code, OpenCode, Windsurf, Codex and Antigravity.
Install / Use
npx skills add monkilabs/opencastleInstalls into whichever agent you are using.
Other
Other agent config
Quality Score
Category
AutomationSupported Platforms
Our assessment of opencastle
opencastle scores 84/100 on our quality scale, 2069th of 2,877 Automation skills we index.
Its Other is 6.3 KB long, well organised into 11 sections with 6 code examples: a thorough specification that gives an agent plenty to work with.
It has 80 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated yesterday, so opencastle is actively maintained.
- Our last check on 2026-10-21 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
opencastle compared with similar skills
All 4 of these similar skills score higher than opencastle; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| opencastle (this skill)by monkilabs | 84 | 80 | 1d ago | Other |
| Agent-Reachby Panniantong | 100 | 109.5k | 1d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.0k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.8k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 98.7k | today | MCP Server |
Frequently asked questions
- How do I install opencastle?
- Run
npx skills add monkilabs/opencastle. The install tabs above show the steps for each supported agent. - Which AI agents does opencastle work with?
- It is written for Claude Code, Cursor, GitHub Copilot, Windsurf and OpenAI Codex, as a Other file. Other agents that read the same format can often use it too.
- Is opencastle safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is opencastle still maintained?
- The repository was last updated yesterday, so opencastle is actively maintained.
Skill content
View source on GitHubOpenCastle
<p align="center"> <img src="opencastle-logo.png" alt="OpenCastle" width="480" /> </p> <p align="center"> <strong>Write your AI assistant config once. Use it in every assistant.</strong> </p> <p align="center"> <a href="https://github.com/monkilabs/opencastle/stargazers"><img src="https://img.shields.io/github/stars/monkilabs/opencastle?style=flat" alt="GitHub stars" /></a> <a href="https://www.npmjs.com/package/opencastle"><img src="https://img.shields.io/npm/v/opencastle.svg?v=1" alt="npm version" /></a> <a href="https://github.com/monkilabs/opencastle/actions/workflows/ci.yml"><img src="https://github.com/monkilabs/opencastle/actions/workflows/ci.yml/badge.svg" alt="CI" /></a> <a href="https://www.npmjs.com/package/opencastle"><img src="https://img.shields.io/npm/dm/opencastle.svg?v=1" alt="downloads" /></a> </p> <p align="center"> <a href="https://www.opencastle.dev/">Website</a> · <a href="docs/quickstart.md">Quickstart</a> · <a href="https://www.opencastle.dev/docs/">Docs</a> · <a href="ARCHITECTURE.md">Architecture</a> · <a href="#contributing">Contributing</a> </p>Your team's AI assistant config is scattered across seven formats. Someone wrote
CLAUDE.md. Someone else keeps .cursor/rules/. Copilot reads
.github/copilot-instructions.md. They say almost the same thing, and they
drift apart the moment anyone edits one of them.
OpenCastle compiles one source into all of them, and tells you when they fall out of sync.
<br>Quick Start
npx opencastle init
It reads your repository first: which assistants you already have config for, which framework and database you use, which test runner. Then it shows you what it found and asks once.
🏰 OpenCastle
Found assistant config:
• Claude Code (CLAUDE.md)
Will compile for:
→ Claude Code
Integrations detected:
nextjs, supabase, vitest, chrome-devtools
Set this up? [Y/n]
No questionnaire. Your existing files are never overwritten — OpenCastle tells you which ones it left alone.
Full walkthrough: docs/quickstart.md — five minutes.
<br>Everyday use
opencastle # what's installed, what drifted, what to run next
opencastle sync # recompile every target from source
opencastle sync --check # fail if anything drifted (for CI)
opencastle add stripe # adopt a new tool, recompile
opencastle doctor # diagnose setup problems
Running opencastle with no arguments is the one command worth remembering. It
answers the question you actually have:
🏰 OpenCastle
! 2/3 targets in sync (sources are newer)
✓ claude-code up to date
✓ cursor up to date
! vscode 4 paths missing
Next: opencastle sync
generated files are older than the framework sources
Keep it in sync in CI
sync --check compiles to a scratch directory and compares. It writes nothing and
exits non-zero when a generated file no longer matches its source — someone edited
.cursor/rules/foo.mdc by hand, added a file under a generated directory, or
upgraded without recompiling.
# .github/workflows/opencastle.yml
- uses: actions/setup-node@v4
with: { node-version: 22 }
- run: npx opencastle sync --check
Commit the generated config, like a lockfile. That is what gives the check
something to compare and what lets a teammate clone the repo and have working
rules without running anything. Only .env and run artefacts are gitignored.
Upgrading from 0.35 or earlier? Run opencastle sync once — it rewrites the
.gitignore block, repairs the manifest, and adopts root files an older release
generated, keeping a .opencastle-backup of each. See
the quickstart.
Supported assistants
| Assistant | Compiles to |
|-----------|-------------|
| Claude Code | CLAUDE.md + .claude/ |
| GitHub Copilot | .github/ — agents, skills, prompts |
| Cursor | .cursorrules + .cursor/rules/*.mdc |
| Windsurf | .windsurfrules + .windsurf/rules/*.md |
| OpenCode | AGENTS.md + .opencode/ + opencode.json |
| Codex CLI | AGENTS.md + .codex/ |
| Antigravity | GEMINI.md + .agents/ |
Each target gets that assistant's native format, including its own frontmatter dialect for how a rule is scoped. MCP servers are configured per assistant too, in whichever shape it expects.
<br>What gets compiled
Agents — 13 role definitions (Developer, UI/UX, Data, Security, Testing, Reviewer, and others), each with a defined scope and output contract.
Skills — 27 domain skills plus 30 tool integrations, loaded on demand so they don't sit in the context window. Selected during init from what your repository actually uses.
Workflows — 9 templates for recurring work: features, bug fixes, data pipelines, security audits, migrations.
Quality gates — a review pass after each step, panel review for high-stakes changes, plus your own lint, test, and build commands.
Agents declare a capability tier — premium, standard, or economy — rather than a model name. Your assistant picks the model: it knows which ones your account can reach and what they cost today. A pinned model name can only be wrong later.
<br>Convoy Engine (experimental)
For work too long to sit and watch, the convoy engine runs tasks in dependency order across isolated git worktrees, with SQLite persistence so a crash resumes instead of restarting.
opencastle convoy "Add user reviews to the place detail page"
opencastle convoy # where did the last run get to?
opencastle convoy resume # continue after an interruption
It plans the work, executes it, and runs your gates. Inspired by Steve Yegge's Gas Town.
This part is experimental and may change. The compiler above does not depend on it.
<br>Architecture
See ARCHITECTURE.md for how the adapters, skill matrix, and convoy engine fit together.
<br>Contributing
- Fork the repo
- Create a branch —
feat/your-featureorfix/your-fix - Make changes and ensure
npm testandnpx tsc --noEmitpass - Open a PR
See CONTRIBUTING.md for details.
<br>License
MIT — see LICENSE.
Related Skills
Agent-Reach
109.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
79.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.8kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Scrapling
98.7k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
