decikit
/decikit
Decider toolkit projects, decision pipelines built from Python functions plus versioned JSON config documents. Covers setting up a project, pipelines and flow files, decision trees, rule sets, decision tables, scorecards, params documents, checks, experiments, and the decider toolkit VS Code extension. Use when a repo imports `decikit` (the decider toolkit) or has configs/<version>/, or the task names any of these.
- Author
- capitec ↗
- Repository
- dsp-decision-engine ↗
- Licence
- MIT
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 10
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Decider toolkit projects, decision pipelines built from Python functions plus versioned JSON config documents. Covers setting up a project, pipelines and flow files, decision trees, rule sets, decision tables, scorecards, params documents, checks, experiments, and the decider toolkit VS Code extension. Use when a repo imports `decikit` (the decider toolkit) or has configs/<version>/, or the task names any of these.
Original author description
Decider toolkit projects, decision pipelines built from Python functions plus versioned JSON config documents. Covers setting up a project, pipelines and flow files, decision trees, rule sets, decision tables, scorecards, params documents, checks, experiments, and the decider toolkit VS Code extension. Use when a repo imports `decikit` (the decider toolkit) or has configs/<version>/, or the task names any of these.
How it works
- Mental model
- Orient
- Golden rules
- References
SKILL.md preview
---
name: decikit
description: Decider toolkit projects, decision pipelines built from Python functions plus versioned JSON config documents. Covers setting up a project, pipelines and flow files, decision trees, rule sets, decision tables, scorecards, params documents, checks, experiments, and the decider toolkit VS Code extension. Use when a repo imports `decikit` (the decider toolkit) or has configs/<version>/, or the task names any of these.
---
# Decider toolkit
The decider toolkit (package `decikit`) builds decision pipelines (credit, pricing, fraud rules, campaigns). A
pipeline runs over a polars frame or one record, interpreted or compiled with
numba, and serves over HTTP with `decikit serve`. Every compiled mode gives the
same answers as plain Python.
## Mental model
- A **step** is a function. Its arguments are the values it reads; its name is
the value it writes.
- **Inputs** are plain arguments: request data (amounts, dates, ids).
- **Params** are `param(default)` arguments: policy that is the same for every
request (limits, cut-offs, weights). They live in the params document
`configs/<version>/params.json`, retuned with no code change. Request data is
an input, never a `param()`.
- **Config documents** are JSON in `configs/<version>/`: decision trees, rule
sets, decision tables, scorecards. A project's `build()` receives each as a
step; any number in one can be `{"param": "name", "default": x}`.
- **Pipelines** compose steps in Python (`flow`, `dag`, `branch`, `loop`) or in
a YAML flow file.
- A config **version** is immutable; a decision is replayed against the version
that made it.
## Orient
1. Run `uv run decikit guide`. Its table "Which construct for which need" picks
the construct for a task; its examples run. `uv run decikit --help` lists
every command, and the docstrings (`help(decikit)`) document the API.
2. Find the project: a `.env` with `DECIKIT_API__PIPELINE`, a `pipeline.py` with
`build()`, `configs/`.
3. Check the MCP tools are loaded by calling `list_configs`. Claude Code names
them `mcp__plugin_decikit_decikit__<tool>`; this skill uses the bare name,
and a deferred tool loads through ToolSearch. When the call fails or the
tools are missing, follow [setup-project.md](references/setup-project.md#the-mcp-server).
## Golden rules
- **Edit config documents through the MCP editing tools.** Each validates the
document before it writes and leaves the file untouched when it would not
build. Python and flow files are edited directly.
- **Check every change with an exact worked answer**: a record whose outcome
you computed by hand, asserted in a test.
- **Run `decikit build`, then score `sample_request.json`, before saying it
works.**
- **Put policy numbers in params or config documents**, calculations in
Python, request data in inputs.
- **Ask the user before running code on real data**: `run_flow`,
`run_experiment`, `start_debug` and `generate_ids` execute their code or write
source, and `raw_record` / `raw_trace` return per-record values.
## References
Read the one that matches the task before starting it.
| Read | When |
|---|---|
| [setup-project.md](references/setup-project.md) | new project, project layout, `.env`, config versions, running and serving, installing or fixing the MCP server |
| [best-practices.md](references/best-practices.md) | deciding what belongs in params, config documents or code; versioning; replay; durable ids; reviewing a change |
| [pipelines.md](references/pipelines.md) | reading or changing a Python pipeline or YAML flow file; finding where a value is written and read |
| [testing-and-checks.md](references/testing-and-checks.md) | tests, `check_report`, run summaries, experiments, debugging one record |
| [configs.md](references/configs.md) | any config document or params document: listing, reading, validating, patching, trying rows |
| [decision-tables.md](references/decision-tables.md) | decision tables: rows, columns, outputs |
| [scorecards.md](references/scorecards.md) | scorecards: variables and bins |
| [decision-trees.md](references/decision-trees.md) | decision trees and rule sets: nodes, branches, outputs |
| [vscode.md](references/vscode.md) | what the user has selected in VS Code, revealing code, debugging in the editor |
Files in this package (10)
- SKILL.md 4 KB
- references/best-practices.md 5 KB
- references/configs.md 7 KB
- references/decision-tables.md 8 KB
- references/decision-trees.md 10 KB
- references/pipelines.md 5 KB
- references/scorecards.md 6 KB
- references/setup-project.md 5 KB
- references/testing-and-checks.md 8 KB
- references/vscode.md 7 KB
Versions
The database has no other skills named decikit.
Database snapshot: 13.11.2026 · package version 71299f8509f8 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100decision-trees-structured-pathway-selection
Use this skill when mapping complex branching technical workflows, dependency decisions, and troubleshooting logic into deterministic decision trees. - 100moebius-plugins
Write a Moebius plugin, a decider compiled in or run as its own process, that answers a decision point a column script asks with moebius.decide. Use it when a decision needs code - a lookup, a policy too large for Luau, a check against another system - or the person asks for a… - 100perplexity-decider
Select Perplexity Decider for structured probability-bearing semantic decisions over text, JSON or images. WHEN: classification, routing, yes/no, choice, rubric scoring, Decider versus Jev fit. Do NOT use for other model families, Perplexity API calls/SDKs, search or inference… - 82local-ui-toolkit-15d8f29c
Use when using Zoom UI Toolkit. - 100event-sourcing
Event sourcing patterns for functional TypeScript — persist state as an append-only log of past events and rebuild it by folding them. Use when implementing a Decider write model, an event store, projections and read models, event versioning, or snapshots. Builds on the Decider… - 100debugging-toolkit
Use when working with debugging toolkit smart debug (Alias for debugging-toolkit-smart-debug)