Repository memory and lightweight governance for AI coding agents.
OpenArc is a plugin made of agent skills, templates, and a dependency-free repository scanner. It helps Codex, Claude Code, and Cursor preserve project intent in ordinary repository files instead of relying on old chat history.
It is not another coding agent, a background documentation bot, or a requirement to create a large docs tree. Routine work stays direct; durable artifacts are added only when they carry a real decision or coordination need.
OpenArc is useful when:
- multiple agents, tools, or sessions need the same project context;
- product, architecture, design, or release decisions must survive beyond one prompt;
- an AI-built repository is starting to drift or duplicate conventions;
- you want persistent project memory without a heavyweight process framework.
Copy this prompt into Codex, Claude Code, or Cursor:
Install the latest stable release of OpenArc from https://github.com/Yipxiyi/OpenArc
for the coding agent environment I am currently using.
Use this platform's supported plugin or integration method and perform all necessary
terminal steps yourself. Preserve my existing plugins, marketplaces, rules, and
configuration. Do not initialize governance or modify my current project yet.
Verify the installation, then report the installed OpenArc version, enabled status,
installation method, and whether I need to restart anything. If you are blocked,
report the exact blocker and the single smallest action I need to take.
For manual installation or troubleshooting, see Install OpenArc.
Ask your coding agent:
Use OpenArc to audit this repository read-only.
Report the repo profile, required gaps, and the single smallest next action.
Do not create or modify files.
A successful first run reports:
- the repository profile;
required,relevant, andoptionalgovernance;- conflicts or risky assumptions found by the agent;
- one smallest next action.
The scanner itself inventories files and profiles. Semantic drift review still requires agent judgment.
When you want OpenArc to write, ask explicitly:
Apply the recommended OpenArc setup for this repository.
Preserve existing conventions and keep the diff minimal.
Audit, review, scan, and “what is missing?” requests are read-only by default. Setup, repair, migration, implementation, release, and publish actions require matching user intent.
- Inspect — detect the repository profile, existing conventions, and sources of truth.
- Choose the smallest path — direct implementation, a spec, a plan, or active tasks.
- Preserve what matters — keep durable decisions in the repository and validate the result.
| Path | Use when | Durable artifact |
|---|---|---|
| Direct | Scope and validation are clear; risk is routine. | None required |
| Spec | Behavior, acceptance criteria, or compatibility needs a contract. | docs/specs/*.md |
| Plan | Sequencing, migration, rollback, or validation needs structure. | docs/plans/*.md |
| Tasks | Work spans active stages, people, or agents. | docs/TASKS.md |
These paths are independent. A change does not need to pass through every artifact.
For broad or risky work, OpenArc asks zero to five material questions. It asks none when repository evidence is sufficient, and continues in the same turn when implementation is ready and already authorized.
OpenArc prefers existing repository conventions. Its canonical paths are used only when the corresponding governance is needed:
AGENT.mdorAGENTS.mdfor agent instructions;docs/PROJECT_BRIEF.mdfor durable project intent;docs/CODE_STYLE.mdanddocs/ARCHITECTURE.mdfor implementation guidance;docs/PRD.md,docs/DESIGN.md, anddocs/BRAND.mdas independent, profile-aware surfaces;docs/specs/*.md,docs/plans/*.md, anddocs/TASKS.mdfor delivery;docs/CHANGELOG_AI.mdanddocs/archive/when project memory needs them.
An unknown repository profile requires only a README and one agent guide as its minimum baseline. Optional governance never makes a repository unhealthy merely because it is absent.
See the framework reference for profiles, scan levels, canonical paths, skill groups, templates, and package layout.
Scan this repository with OpenArc and tell me the smallest next action.
Use OpenArc clarification-gate for this risky migration.
Create a lightweight spec for this behavior change.
Plan this migration with rollback and validation.
Migrate this workspace to OpenArc conventions without destructive rewrites.
OpenArc focuses on durable repository context. Agent workflow tools such as Superpowers focus on execution discipline inside a development session; spec-first toolkits such as GitHub Spec Kit focus on feature delivery. They can be used together.
Contributions should improve agent behavior without adding process for its own sake. Before opening a pull request, run:
python3 scripts/openarc.py doctor .
python3 -m unittest discover -s tests -vSee CONTRIBUTING.md for skill, version, validation, and release rules.
OpenArc is released under the MIT License.
