MCP
Skills
Skills that teach coding agents to write AQL and checks.
Skills are packaged instructions a coding agent loads when they become relevant. Abstraction ships two:
abstraction-aql— write and debug AQL, Abstraction's query language for code structure: select code by name, follow call graphs and data flow, and assert architectural rules. Its language reference is generated from the server's own AQL library, so it can't drift from what the server accepts.abstraction-checks— turn an architectural rule into a check that runs on every pull request: validate the query against your main branch withrun_check, then commit it as an.abstraction/checks/<topic>.abstrcheck.yamlfile in the pull request.
Both ship as a plugin for Claude Code and for Codex, together with the MCP server config. oh-my-pi installs the Claude Code plugin.
Install
You need an Abstraction account with at least one analyzed workspace. Getting started walks through signing in, creating a workspace and connecting a repository.
Claude Code
Install the plugin from inside Claude Code:
/plugin marketplace add abstraction-dev/claude-plugin
/plugin install abstraction@abstractionThen run /mcp, pick plugin:abstraction:mcp and sign in with your
Abstraction account in the browser. The plugin configures the MCP server for
you, so there is no API key to paste.
Claude Code doesn't update the plugin on its own. To get new skills and tools
automatically, open /plugin, go to Marketplaces and turn on auto-update
for abstraction.
Codex
Install the plugin from your shell, then sign in with your Abstraction account in the browser:
codex plugin marketplace add abstraction-dev/codex-plugin
codex plugin add abstraction@abstraction
codex mcp login abstractionCodex doesn't update plugins on its own. To get new skills and tools, fetch the marketplace, reinstall, and start a new session:
codex plugin marketplace upgrade abstraction
codex plugin add abstraction@abstractionoh-my-pi
oh-my-pi (omp) reads Claude Code plugin marketplaces, so
it installs the Claude Code plugin. Install it from inside omp:
/marketplace add abstraction-dev/claude-plugin
/marketplace install abstraction@abstraction
/reload-pluginsThen run /mcp reauth abstraction:mcp and sign in with your Abstraction
account in the browser. /mcp list should now show abstraction:mcp as
connected. omp lists it under Claude Code Marketplace, the format it
installed the plugin from.
Install the plugin in omp even if Claude Code already has it. By default omp doesn't load plugins installed through Claude Code, so your agent would reach the MCP server without the skills and have to guess at AQL.
omp doesn't update the plugin on its own. To get new skills and tools, refresh the marketplace and reinstall:
/marketplace update abstraction
/marketplace upgrade abstraction@abstraction
/reload-pluginsOther agents
The skills are plain SKILL.md folders under plugins/abstraction/skills/ in
either plugin repository. Copy the folders into wherever your agent reads
skills from, and connect the MCP server separately.
Use it
Ask for what you want in plain words. The agent picks the tool or skill on its own, for example:
- "Ask Abstraction how a webhook gets from the HTTP handler to the database." Astrid investigates your workspace and answers with references to the code.
- "Write a check that only the billing package calls Stripe." The
abstraction-checksskill loads, validates the query against your main branch withrun_check, and writes the check file under.abstraction/checks/for your pull request. - "Pre-review this branch." The agent starts a pre-review of the pushed branch and reports its findings.
If you belong to more than one workspace, say which one you mean.