DocsStart
Use AI skills
Set up decisio, write requests and integrate decisions with skills for Claude Code, Codex, Devin, Cursor and GitHub Copilot.
Install three focused skills for your coding assistant, then ask it to run decisio, write a question or connect a decision to your application. From your application’s root directory, use a POSIX terminal with Node 22.12 or later, curl and Python 3:
DECISIO_PROJECT="$PWD": "${DECISIO_SKILLS:=$HOME/.cache/decisio-skills}"mkdir -p "$DECISIO_SKILLS"curl --fail --location --output "$DECISIO_SKILLS/decisio-skills-0.1.1.zip" \ https://github.com/aminry/decisio-skills/releases/download/v0.1.1/decisio-skills-0.1.1.zipnode --input-type=module -e 'import {readFileSync} from "node:fs"; import {createHash} from "node:crypto"; if (createHash("sha256").update(readFileSync(process.argv[1])).digest("hex") !== "802f56e3038db1060f3985c4ae48c23fff8694e06f058ece116d007bdce54aa7") throw new Error("Archive checksum mismatch"); console.log("Archive checksum matches");' "$DECISIO_SKILLS/decisio-skills-0.1.1.zip" &&python3 -m zipfile --extract "$DECISIO_SKILLS/decisio-skills-0.1.1.zip" "$DECISIO_SKILLS"Checked with skills package 0.1.1 on 2026-11-13, in an isolated project.
The download goes into your local cache; the installer below copies the selected skill folders into your project.
Keep this terminal open so DECISIO_PROJECT and DECISIO_SKILLS remain set.
For a browser download, extract the ZIP with your archive tool and use the manual installation below.
Skills package 0.1.1, for decisio 0.46.0. Download the ZIP.
1. Install for your coding assistant
Section titled “1. Install for your coding assistant”Choose the tool you use in this application. Project scope keeps these instructions with this repository.
Codex
node "$DECISIO_SKILLS/decisio-skills-0.1.1/scripts/install.mjs" install --host codex --scope project --project "$DECISIO_PROJECT"Checked with skills package 0.1.1 on 2026-11-13, in an isolated project.
This installs into .agents/skills/ in your application.
In Codex CLI or the IDE extension, run /skills or type $ to find a skill.
Claude Code
node "$DECISIO_SKILLS/decisio-skills-0.1.1/scripts/install.mjs" install --host claude --scope project --project "$DECISIO_PROJECT"Checked with skills package 0.1.1 on 2026-11-13, in an isolated project.
This installs into .claude/skills/ in your application.
In Claude Code, open /skills or type /decisio-request to invoke that workflow.
The installer reports each skill’s destination and whether it was installed or already present. If a skill does not appear, start a fresh session in the application.
Devin, Cursor and GitHub Copilot
Section titled “Devin, Cursor and GitHub Copilot”These tools also read project skills from .agents/skills/.
Choose the Codex tab above and run its project installation command; --host codex selects that shared folder layout.
Keep each complete skill folder, including its references and assets.
| Tool | How to use an installed skill |
|---|---|
| Devin | Commit the folders in a connected repository, then include @skills:decisio-request in your session prompt |
| Cursor | Open the project, type / in Agent chat and select decisio-request |
| GitHub Copilot CLI | Run /skills reload, then include /decisio-request in your prompt |
For Devin and other cloud sessions, the skill folders must be available in the repository the session clones. Local personal installations are separate; they do not automatically reach a remote environment. For Copilot in an IDE or the cloud, use a supported agent surface and ask it to use the skill by name.
Install only one skill
Section titled “Install only one skill”Add --skill for a single workflow:
node "$DECISIO_SKILLS/decisio-skills-0.1.1/scripts/install.mjs" install --host codex --scope project --project "$DECISIO_PROJECT" --skill decisio-requestChecked with skills package 0.1.1 on 2026-11-13, in an isolated project.
Use --host claude for Claude Code.
Use the skills across your projects
Section titled “Use the skills across your projects”Choose personal scope explicitly:
node "$DECISIO_SKILLS/decisio-skills-0.1.1/scripts/install.mjs" install --host codex --scope userShown, not run: personal installation changes your own skill directory; the package tests exercise user scope in isolated homes.
For Codex this writes to $HOME/.agents/skills; with --host claude, it writes to $HOME/.claude/skills.
Choose one scope for each host so duplicate names do not compete.
2. Pick the workflow
Section titled “2. Pick the workflow”| Skill | Ask for | Result |
|---|---|---|
decisio-setup | GPU, MLX or Ollama setup, or connection to an existing endpoint | Endpoint configuration, a first request, and a report of what actually ran |
decisio-request | A choice, yes/no question or score rubric | Complete request JSON, a small caller and a response-reading example |
decisio-integrate | A decision inside an existing backend | An application change with timeout handling, errors and a review path |
In Codex, mention $decisio-setup, $decisio-request or $decisio-integrate.
In Claude Code, use /decisio-setup, /decisio-request or /decisio-integrate.
Ordinary language can also select a matching workflow.
Example: connect to your server
Section titled “Example: connect to your server”Use decisio-setup when your backend needs a working connection. For a decisio server already running locally, paste:
Use decisio-setup to connect this application to
http://localhost:8000. Save the endpoint in the project’s existing environment configuration, check the service and send one support-ticket request.
You should get reusable endpoint configuration, a first response and the command to check the connection again. The assistant reports any missing requirement if the endpoint is unavailable.
For a fresh installation, replace the endpoint sentence with “Set up decisio with MLX,” “Use my NVIDIA GPU,” or “Use Ollama with the decisio model listing.” Run the setup in an environment with access to that hardware or endpoint.
Example: write a ticket-routing request
Section titled “Example: write a ticket-routing request”Use decisio-request when you know the decision you want to ask. Paste:
Use decisio-request to route support tickets to billing, access or other, using the endpoint configured in this project. Start with “I was charged twice this month” and save request.json plus a small Python caller. Show how to read the chosen category and its probabilities.
You should get a named choice question with the three options, the input ticket in state, and a caller that reads the answer.
The model chooses the category when you run it; the prompt does not fix the result.
Without an endpoint, the assistant can still prepare the files and explain how to run them later.
Example: add the decision to your backend
Section titled “Example: add the decision to your backend”Use decisio-integrate once your application needs to act on the answer. Paste:
Use decisio-integrate to add ticket routing to this Python backend using its HTTP client and configured decisio endpoint. Set a three-second timeout and send service errors or uncertified answers to review. Require a gold certificate before automatic assignment, and add tests for successful routing, review and timeout.
You should get a small application change with configuration, response handling and tests that follow your existing project structure.
Automatic assignment requires an answer with certified: true and certificate_kind: "gold"; the other cases follow the review path.
See Support routing for the full application example.
Use the same prompts in each assistant, with its invocation from the table above.
For example, a Devin request can start with @skills:decisio-request, while Codex can start with $decisio-request and Claude Code, Cursor or Copilot CLI with /decisio-request.
3. Update or remove
Section titled “3. Update or remove”To take a newer compatible package, download and extract that release, then run its installer with --update for your original host and scope.
For this package and the Codex project installation above:
node "$DECISIO_SKILLS/decisio-skills-0.1.1/scripts/install.mjs" install --host codex --scope project --project "$DECISIO_PROJECT" --updateChecked with skills package 0.1.1 on 2026-11-13, in an isolated project.
For Claude Code, use --host claude; for a personal installation, use --scope user.
In a new terminal, set DECISIO_PROJECT to your application path and DECISIO_SKILLS to the download directory first.
The installer refuses to overwrite locally edited managed files; preserve your edits before updating. Extra notes and other skills remain in place.
To uninstall, use the same host, scope and project you installed into:
Codex
node "$DECISIO_SKILLS/decisio-skills-0.1.1/scripts/install.mjs" uninstall --host codex --scope project --project "$DECISIO_PROJECT"Checked with skills package 0.1.1 on 2026-11-13, in an isolated project.
Claude Code
node "$DECISIO_SKILLS/decisio-skills-0.1.1/scripts/install.mjs" uninstall --host claude --scope project --project "$DECISIO_PROJECT"Checked with skills package 0.1.1 on 2026-11-13, in an isolated project.
Uninstall removes only the files recorded by this installer.
For a personal installation, replace --scope project --project "$DECISIO_PROJECT" with --scope user.
Manual installation
Section titled “Manual installation”Extract the ZIP and copy the desired folders from its skills/ directory, including their references, assets and metadata.
| Host | Project destination | Personal destination |
|---|---|---|
| Codex | .agents/skills/<skill-name>/ | $HOME/.agents/skills/<skill-name>/ |
| Claude Code | .claude/skills/<skill-name>/ | $HOME/.claude/skills/<skill-name>/ |
Each destination must contain SKILL.md directly, such as .agents/skills/decisio-request/SKILL.md.
Copy each self-contained folder once; manage updates and removal of manually copied folders yourself.
The Node commands can be run from a Windows terminal with the extracted installer path and application path quoted explicitly.
Troubleshoot
Section titled “Troubleshoot”| What you see | What to do |
|---|---|
| No skills in the selector | Check the destination and SKILL.md, open the application in the intended repository, then start a fresh session |
| The assistant chooses another workflow | Invoke the skill by its exact name and state the decisio task you want |
| Duplicate skill names | Keep one installation scope per host and remove the other managed installation |
| An existing folder is not managed | Preserve it, then choose manual installation or resolve the name collision before running the installer again |
| An update is refused | Preserve your edited managed files before updating; ordinary extra notes can stay |
| The package checksum does not match | Download the ZIP again from the linked release before extracting it |
| A request was prepared but not sent | Supply an endpoint or follow Get started to run one |
Good to know
Section titled “Good to know”The skills guide your coding assistant through your backend workflow. Run the decision service on the GPU, MLX or Ollama path suited to your hardware, and keep its version aligned with the package references.
The package installer manages the Codex and Claude Code folder layouts; Devin, Cursor and Copilot can read the shared project layout described above. Their discovery instructions come from their linked host guides; this package has been exercised with Codex and Claude Code. See the Codex host guide and Claude Code host guide for other distribution options.
What next
Section titled “What next”- Build a request: the fields the assistant will write.
- Use the probabilities: connect a result to application policy.
- Support routing: a complete backend example with review handling.