Repository avatar
Other Tools
v0.3.4
active

openskopos

io.github.openskopos/openskopos

Check, fix, convert, compare and merge OpenSkopos decision documents. No account needed.

Documentation

OpenSkopos

OpenSkopos

crates.io npm Conformance License

OpenSkopos is an open file format and a command line tool for the decisions that a team makes before work is handed over to an AI agent. Goals, requirements, constraints, open questions and decisions become typed items with stable IDs such as FR2 or D1. People, commits, tickets and agents cite those IDs, and the skopos tool checks the document and shows what changed between versions.

Try it in the browser · Guide · Specification 0.3 · openskopos.org

Skopos is Greek for aim or purpose.

What it looks like

A document is JSON, YAML or Markdown. skopos render shows it in the terminal:

Σ• Intent · version 1 · draft
Self-serve plan downgrades

4 items: 2 accepted, 2 proposed.

Goals (1)
  G1   No user loses access by surprise when an org moves to a smaller plan.
       for: Members of orgs that downgrade

Requirements (1)
  FR1  A plan change that leaves too many seats active shows a warning.
       [proposed] [must]

Constraints (1)
  C1   Ask before changing billing database tables. [ask first]
       approver: Priya

Open questions (1)
  Q1   Do guest accounts count toward the seat limit? [proposed]
       owner: Mateo

In version 2, the team answers Q1 and makes FR1 more precise. FR1 is not edited in place. It is superseded, so its history stays traceable:

skopos add intent-v2.skopos.yaml --type decision --status accepted \
  --text "Guest accounts do not count toward the seat limit." --ref resolves:Q1
skopos supersede intent-v2.skopos.yaml FR1 \
  --text "A plan change that leaves too many seats active shows a warning that lists the seats to remove."
skopos diff intent-v1.skopos.yaml intent-v2.skopos.yaml
pa_GXK64nlH7XN3pjFd@1 -> pa_GXK64nlH7XN3pjFd@2
added      FR2  A plan change that leaves too many seats active shows a warning that lists the seats to remove.
added      D1   Guest accounts do not count toward the seat limit.
superseded FR1  by FR2

The guide follows this example from the first document to merges, compaction and hand-off to agents.

Install

With Homebrew on macOS or Linux:

brew install openskopos/tap/skopos

With Node on any platform, with no install:

npx @openskopos/cli check intent.skopos.yaml

docs/install.md has the other ways: install scripts for the shell and PowerShell, binaries for each platform, and cargo install --locked skopos.

The skopos tool checks, formats and converts documents, assigns missing IDs, reads and changes items by ID, and imports edited Markdown files into the next version of a document. It compares versions, traces history, merges parallel drafts, compacts accumulated versions, renders readable views, and exports documents to OpenSpec, Kiro or Spec Kit (see docs/exporters.md). See crates/skopos/README.md for all commands.

Use it from a coding agent

The agent skill teaches an agent to write and change OpenSkopos documents. The MCP server at https://mcp.openskopos.org/mcp runs the same checks for agents that cannot run commands. It is free and needs no account.

In Claude Code, install both as one plugin:

/plugin marketplace add openskopos/openskopos
/plugin install openskopos@openskopos

To get new versions of the skill, turn on auto-update for the openskopos marketplace under /plugin > Marketplaces (see docs/skill.md).

For Codex, Amp, Cursor, GitHub Copilot, Gemini CLI and other agents that read skills:

npx skills add openskopos/openskopos

To add only the MCP server, see docs/mcp.md for each client.

Status

Version 0.3 is published. All 0.x versions are unstable, and each new 0.y version can have breaking changes.

Files

A team keeps a readable Markdown file, such as INTENT.md, next to a data file in JSON or YAML, such as intent.skopos.json. The Markdown file can be edited by hand and read back.

Repository

FolderContents
spec/The specification, by version
schema/The JSON Schema files. A tagged version is published at https://openskopos.org/schema/.
conformance/Valid and invalid documents that every implementation must handle
docs/The documentation of the tools and the libraries
crates/The reference implementation in Rust: the library skopos-core, the command line tool skopos and the WebAssembly build skopos-wasm
npm/The npm packages @openskopos/core and @openskopos/cli, from the WebAssembly build
mcp/The MCP server
plugins/The plugin for Claude, ChatGPT and Codex: the agent skill and the MCP server (plugins/openskopos)
site/The website at openskopos.org
brand/The logo and the brand rules (BRAND.md)

For JavaScript and TypeScript code, the package @openskopos/core reads, checks and writes documents in Node and in browsers.

Reference user

Clarvelo facilitates team sessions that produce OpenSkopos documents.

Contributing

See CONTRIBUTING.md. GOVERNANCE.md says who decides on changes during 0.x.

License

Apache License 2.0, for the specification and the code.

No installation packages available.

Remote