@taskless/cli
v0.13.1
Published
[](https://www.npmjs.com/package/@taskless/cli) [](https://github.com/taskless/cli/actions/workflows/val
Readme
@taskless/cli
CLI companion for Taskless. Designed to work with agent skills to add constraints that improve coding agent output.
Install
npx @taskless/cliRun with no arguments in a terminal to launch the installer, which detects the
agent tools in your project (Claude Code, Cursor, OpenCode) and installs into
each of them. For scripted installs and upgrades, init runs the same install
without prompts, in a terminal or not:
npx @taskless/cli initNew to Taskless? Run npx @taskless/cli onboard after installing. It walks your
agent through your codebase and suggests a starter set of rules.
How to Use via Agents
Installing adds one skill (taskless). The skill body is a small router: your
agent fetches the canonical recipe for whatever you asked for, then follows it.
Ask in plain language: "write a taskless rule that bans console.log", "add
taskless to CI", "run taskless check". You rarely need to run the CLI yourself.
To see what the agent sees, run npx @taskless/cli agent for the topic index, or
npx @taskless/cli agent <topic> for a full recipe.
Taskless Check (CI and Constraints)
taskless check runs your rules against the codebase. It exits 0 when nothing
error-severity matched and 1 when something did, so it drops straight into a
pipeline:
npx @taskless/cli check # scan everything
npx @taskless/cli check $(git diff --name-only main...HEAD) # PR-only scan
npx @taskless/cli check --json # machine-readablePaths that no longer exist are dropped silently, so raw git diff output can be
piped in without pre-filtering. Static rules need no login and make no network
calls, so CI needs no secrets. Runtime rules (which execute code) only run once
the server has verified their signature; otherwise they are reported as skipped
and never change the exit code.
Ask your agent to "add taskless to CI" and it will wire this into the CI system you already use rather than replacing it.
Why Teams Choose Taskless
- Constraints, not suggestions. Rules are real files in your repo, enforced by ast-grep, Vale, and runtime checks: the same result every run, for every agent and every human.
- The same rules in the editor and in CI. One command, one exit code.
- Works with the agent you already have. One skill installs into Claude Code,
Cursor, Codex, and OpenCode, with a plain
.agents/fallback when none is detected. - Nothing to run locally. No daemon, no install step in CI, no auth for the checks that matter most.
Docs
- docs.taskless.io: guides and reference
- taskless.io: the product
- github.com/taskless/cli: source and issues
Telemetry
The CLI reports anonymous usage (which command ran, whether it succeeded, how long it took, and counts of findings. It never sends rule content, prompts, or matched source. Disable it by setting either environment variable:
export TASKLESS_TELEMETRY_DISABLED=1
# or the cross-tool convention
export DO_NOT_TRACK=1With either set, no client is created and no network request is made.
MIT licensed.
