Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

centsible

БесплатноБез исполняемых скриптовНе проверен

Manage repository-specific micro-facts, inspect token optimization status, and record reusable discoveries to minimize context bloat and token consumption.

ntrieuvi97от ntrieuvi97327 установок в других каталогах

Об этом скилле

Centsible Skill 🪙

This skill allows the agent and user to manage experience-driven micro-facts and token optimization.

Requires the centsible CLI: pip install centsible (Python 3.9+, no dependencies). Update every install later with centsible update.

When to Use

  • User asks about token optimization status or active facts (centsible status, centsible facts list).
  • You resolved a non-trivial repo quirk (e.g. non-standard test runner, mandatory environment flag, path alias) that future turns will need.
  • Testing pattern matching against prompts.

Commands

1. Check Status & Token ROI Stats

centsible status
centsible stats
centsible stats --transcript <path_to_transcript.jsonl> --json

Loop Guard Thresholds & Reflection

Pick a mode preset, or fine-tune thresholds and reflection modes.

  • Modes (errors / identical calls): ultra 2/3, normal 3/4 (default), weak 4/5.
  • Reflection modes:
    • inline (default): in-turn reflection, agent saves facts before final response; zero extra turns, answers never collapsed in UI.
    • hook: Stop hook reflection; blocks session termination to force a continuation turn.
    • off: disables reflection prompts.
centsible config mode ultra
centsible config reflect inline # In-turn reflection without extra turns (default)
centsible config reflect hook   # Force extra continuation turn on wrap-up
centsible config reflect off    # Disable reflection nudges
centsible config list
centsible config set max_consecutive_errors 4
centsible config unset max_consecutive_errors

Keys: mode, reflect, max_consecutive_errors, max_identical_calls, session_budget_tokens, session_budget_calls. Env vars CENTSIBLE_LOOP_MODE, CENTSIBLE_REFLECT, CENTSIBLE_MAX_*, CENTSIBLE_SESSION_BUDGET_* override the file.

2. List Micro-Facts

centsible facts list

3. Add a Micro-Fact

Always keep the fact to a single, direct sentence without conversational padding:

centsible facts add --pattern "<regex_pattern>" --fact "<one_line_fact>"

Examples:

centsible facts add --pattern "pytest.{0,40}(fail|error|slow)" --fact "Run unit tests with 'pytest tests/ -q --tb=short'."
centsible facts add --pattern "docker.{0,30}(build|compose)" --fact "Pass --progress=plain to docker build to keep logs short."
centsible facts add --pattern "auth/login\.py" --fact "Never mutate token keys directly."

The pattern decides when the fact is injected, so it must describe the situation, not a keyword. Saving is rejected (exit 2) for a lone short word (pytest, bruno, pip), for generic words only (run.*test), and for facts over 240 characters. Anchor on, in order of strength:

  1. an identifier: file, script, table, API path or flag (deploy_staging, run-e2e, a/b.py);
  2. a tool plus a symptom (pytest.{0,40}(fail|error));
  3. an action plus object plus context ((create|book).{0,12}order.{0,40}(uat|stg)).

Before saving, check a couple of prompts that must not match with centsible facts test "<prompt>". --force overrides the check; use it only when the pattern is deliberately broad.

4. Test Fact Matching

Verify what facts trigger for a specific user prompt:

centsible facts test "How do I run the bruno tests?"

5. Remove Stale Fact

centsible facts remove <id_or_pattern>

6. Harvest Golden Facts (Agentic Multi-Turn Discovery)

When working in a new repository or after a fresh install, discover up to 5 non-obvious facts (0 if the repo follows standard conventions):

centsible harvest
centsible harvest --prompt
  • In Claude Code: type /centsible-harvest
  • In Antigravity: ask your agent "Run centsible harvest to discover golden facts for this repo"

7. Audit and Tune Facts

centsible facts verify            # files/commands named in facts still exist? exit 1 if a path is stale
centsible facts replay            # how each pattern would have fired on past sessions
centsible facts tune              # suggest remove / narrow / merge (report only)
centsible facts tune --apply      # perform only the evidence-backed [auto] suggestions

8. Session Budget (opt-in)

Warns once at 80%, then blocks further tool calls in the session until raised or unset:

centsible config set session_budget_tokens 2000000
centsible config set session_budget_calls 300
centsible config unset session_budget_tokens

9. Update

centsible update --check   # installed vs. latest versions
centsible update           # update every install: Claude Code plugin, git clones, pip
Полный SKILL.md на ClawHub

Установить centsible в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл centsible?

Manage repository-specific micro-facts, inspect token optimization status, and record reusable discoveries to minimize context bloat and token consumption.

Как установить скилл centsible?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл centsible запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить centsible с