LobeHub Alint Rule Set Maintenance
lobehub/lobehub
Maintains LobeHub's model-backed alint rule set: writing rules, removing false positives against real code, deciding warn versus error and tracking token cost.
Compact one or more Spec-Driven Development artifacts in place to reduce token cost on subsequent /speckit.
$ npx skills add haru/redmine_ai_helper --skill speckit-token-budget-compact -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install haru/redmine_ai_helper speckit-token-budget-compact --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/haru/redmine_ai_helper.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/speckit-token-budget-compact .claude/skills/speckit-token-budget-compact && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "speckit-token-budget-compact" agent skill from https://github.com/haru/redmine_ai_helper/tree/main/.claude/skills/speckit-token-budget-compact into .claude/skills/speckit-token-budget-compact/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "speckit-token-budget-compact", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/haru/redmine_ai_helper/tree/main/.claude/skills/speckit-token-budget-compactType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add haru/redmine_ai_helper --skill speckit-token-budget-compact -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install haru/redmine_ai_helper speckit-token-budget-compact --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/haru/redmine_ai_helper.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/speckit-token-budget-compact .agents/skills/speckit-token-budget-compact && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "speckit-token-budget-compact" agent skill from https://github.com/haru/redmine_ai_helper/tree/main/.claude/skills/speckit-token-budget-compact into .agents/skills/speckit-token-budget-compact/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "speckit-token-budget-compact", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add haru/redmine_ai_helper --skill speckit-token-budget-compact -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install haru/redmine_ai_helper speckit-token-budget-compact --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/haru/redmine_ai_helper.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/speckit-token-budget-compact .cursor/skills/speckit-token-budget-compact && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "speckit-token-budget-compact" agent skill from https://github.com/haru/redmine_ai_helper/tree/main/.claude/skills/speckit-token-budget-compact into .cursor/skills/speckit-token-budget-compact/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "speckit-token-budget-compact", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/haru/redmine_ai_helper.git --path .claude/skills/speckit-token-budget-compact--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add haru/redmine_ai_helper --skill speckit-token-budget-compact -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install haru/redmine_ai_helper speckit-token-budget-compact --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/haru/redmine_ai_helper.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/speckit-token-budget-compact .gemini/skills/speckit-token-budget-compact && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "speckit-token-budget-compact" agent skill from https://github.com/haru/redmine_ai_helper/tree/main/.claude/skills/speckit-token-budget-compact into .gemini/skills/speckit-token-budget-compact/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "speckit-token-budget-compact", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install haru/redmine_ai_helper speckit-token-budget-compactInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add haru/redmine_ai_helper --skill speckit-token-budget-compact -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/haru/redmine_ai_helper.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/speckit-token-budget-compact .github/skills/speckit-token-budget-compact && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "speckit-token-budget-compact" agent skill from https://github.com/haru/redmine_ai_helper/tree/main/.claude/skills/speckit-token-budget-compact into .github/skills/speckit-token-budget-compact/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "speckit-token-budget-compact", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add haru/redmine_ai_helper --skill speckit-token-budget-compact -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install haru/redmine_ai_helper speckit-token-budget-compact --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/haru/redmine_ai_helper.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/speckit-token-budget-compact .opencode/skills/speckit-token-budget-compact && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "speckit-token-budget-compact" agent skill from https://github.com/haru/redmine_ai_helper/tree/main/.claude/skills/speckit-token-budget-compact into .opencode/skills/speckit-token-budget-compact/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "speckit-token-budget-compact", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
speckit-token-budget-compactCompact one or more Spec-Driven Development artifacts in place to reduce token cost on subsequent /speckit.
Speckit Token Budget Compact is an agent skill from haru/redmine_ai_helper. Compact one or more Spec-Driven Development artifacts in place to reduce token cost on subsequent /speckit. commands. Lossless on requirements, decisions, contracts, IDs; strips template scaffolding, examples, and prose padding. The original is preserved as <artifact.full.md the first time an artifact is compacted.
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires spec-kit project structure with .specify/ directory
It sits in Development, covering Spec-driven development and LLM cost and token optimization. The repository describes itself as: A Redmine plugin that adds AI agents, MCP Server, smart completion, and vector search. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 3cd87d6. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires spec-kit project structure with .specify/ directory
From compatibility in the SKILL.md frontmatter.
Speckit Token Budget Compact loads about 1.8k tokens when it runs. Until then it costs about 87 tokens; SKILL.md has 781 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from haru/redmine_ai_helper at commit 3cd87d6, republished under its MIT licence (© haru). 781 words, ~1,766 tokens.
.claude/skills/speckit-token-budget-compact/SKILL.md (or your agent's skills folder).The user has invoked /speckit.token-budget.compact with arguments: $ARGUMENTS.
Compact one or more SDD artifacts in the active feature so that downstream spec-kit commands consume fewer tokens, without losing any requirement, decision, contract, ID, user story, or acceptance criterion.
Resolve the active feature directory (typically specs/<NNN-feature-name>/)
from the current git branch using the existing spec-kit conventions. If the
user is not on a feature branch, ask which feature to operate on and stop.
Parse $ARGUMENTS:
spec | plan | tasks | research | data-model | contracts |
quickstart | constitution → compact only that one (or that group, in
the case of contracts).--level=light|medium|aggressive → override the configured level for
this run only.--dry-run → report what would change, write nothing.Load token-budget-config.yml from the extension directory if present,
otherwise use the template defaults. The keys you care about are:
compact.level, compact.preserve_sections, compact.drop_sections,
compact.preserve_code_blocks, compact.preserve_id_patterns,
compact.keep_full_backup.
If keep_full_backup is true and <artifact>.full.md does not yet exist,
copy the current artifact to <artifact>.full.md. Never overwrite an
existing backup. The backup is the source of truth for re-compaction at a
different level later.
<!-- ... -->), except
the spec-kit machine-readable markers (e.g. <!-- INSERT_STATUS_BELOW -->)
if present.compact.drop_sections.---, ===, repeated * or _ runs)
that are not Markdown horizontal rules between meaningful sections.In addition to Step 2:
In addition to Steps 2–3:
Never modify, paraphrase, or remove:
compact.preserve_id_patterns
(FR-001, NFR-002, T015, US-003, AC-007, etc.) — keep the line verbatim.compact.preserve_sections.preserve_code_blocks is true (default).contracts/* schema files (OpenAPI, JSON Schema, GraphQL
SDL). You may strip surrounding markdown prose but the schema bytes must
be identical.src/...,
./..., /...).If at any point you are uncertain whether a transformation is lossless, do not apply it. Compaction must never invent, summarize away, or merge distinct requirements.
After stripping, ensure heading levels are still contiguous (no jump from
# to ###). Promote orphan subheadings as needed. The artifact must
still parse as a valid spec-kit document of its kind.
Append a single line at the very bottom of the compacted file:
<!-- token-budget: compacted (level=<level>) on <ISO-8601-date>; original at <basename>.full.md -->This marker lets usage and re-runs detect already-compacted files and
skip no-op work.
For each artifact processed, run the helper script to get character/token counts before and after, then report:
spec.md 4,820 → 2,310 tokens (-52.1%) [backup: spec.full.md]
plan.md 6,140 → 3,580 tokens (-41.7%) [backup: plan.full.md]
research.md 3,200 → 1,180 tokens (-63.1%) [backup: research.full.md]
─────────────────────────────────────────────────
total 14,160 → 7,070 tokens (-50.1%)Then end the response. Do not narrate the steps you took — the file diff is the deliverable.
The helper script .specify/extensions/token-budget/scripts/bash/compact_helper.sh provides:
snapshot <file> — prints the current token count.backup_if_needed <file> — copies to .full.md if no backup exists yet.summarize <before_path> <after_path> — prints the one-line report row.has_marker <file> — exit 0 if file is already compacted.stamp <file> <level> — append the compaction marker.Use it to keep your edits auditable and the output consistent. You do the content rewriting; the script does the bookkeeping.
If an artifact already carries the <!-- token-budget: compacted -->
marker, re-compaction works against the .full.md backup, not the
current compacted version. This prevents lossy compounding across runs.
© haru, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/speckit-token-budget-compact of haru/redmine_ai_helper.
Open the folder on GitHubat commit 3cd87d6
Speckit Token Budget Compact next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Speckit Token Budget Compact this skillharu/redmine_ai_helper | 106 | — | ~1.8k | Automated safety check: Pass | MIT | |
| LobeHub Alint Rule Set Maintenancelobehub/lobehub | 83k | — | ~1.9k | Automated safety check: Pass | Custom licence | |
| Levyra Context EfficiencyLUC4N3X/Levyra-deepsound | 591 | — | ~1.3k | Automated safety check: Notes | GPL-3.0 | |
| Docs Impact Classifiermicrosoft/apm | 4k | — | ~1.8k | Automated safety check: Pass | MIT | |
| CostHouseofmvps/ultraship | 123 | — | ~1.1k | Automated safety check: Notes | MIT | |
| Token Efficiencyrohitg00/pro-workflow | 2.9k | — | ~1k | Automated safety check: Pass | None |
lobehub/lobehub
Maintains LobeHub's model-backed alint rule set: writing rules, removing false positives against real code, deciding warn versus error and tracking token cost.
LUC4N3X/Levyra-deepsound
A skill your agent uses for genuinely high-volume Levyra work such as builds, tests, lint, logs, broad searches, dependency output, Git/GitHub or CodeRabbit inspection, CI diagnostics, agent setup…
microsoft/apm
A skill your agent uses to classify the documentation impact of a pull request diff, returning one of three verdicts -- no-change, in-place edit, or structural change -- with bounded LLM cost.
Houseofmvps/ultraship
AI Build Cost Tracker — track how much AI is costing you per feature.
rohitg00/pro-workflow
Reduce token waste by 40-60% through anti-sycophancy rules, tool-call budgets, one-pass coding, task profiles, and read-before-write enforcement.
microsoft/GitHub-Copilot-for-Azure
Review skill PRs with structured severity-rated feedback covering token budgets, routing conflicts, and repo conventions.
haru/redmine_ai_helper
Stage the current changes and create a git commit with a properly formatted English message.
haru/redmine_ai_helper
Create a pull request from the current branch. An agent skill from haru/redmine_ai_helper.
haru/redmine_ai_helper
Create a release branch for a given version. An agent skill from haru/redmine_ai_helper.
haru/redmine_ai_helper
Record code review findings (GitHub Copilot PR review or a local AI review) that led to a code change in docs/code-review-feedback/ as append-only entries with root-cause analysis.
haru/redmine_ai_helper
Record a user's correction of an AI-written specification in docs/spec-feedback/ as an append-only entry with root-cause analysis.
haru/redmine_ai_helper
Code quality checks, formatting, and metrics via qlty CLI. An agent skill from haru/redmine_ai_helper.
Categories
Compact one or more Spec-Driven Development artifacts in place to reduce token cost on subsequent /speckit. Speckit Token Budget Compact is an agent skill from haru/redmine_ai_helper. Compact one or more Spec-Driven Development artifacts in place to reduce token cost on subsequent /speckit.
Speckit Token Budget Compact fits situations like: tasks that involve Spec-driven development; tasks that involve LLM cost and token optimization.
Run `npx skills add haru/redmine_ai_helper --skill speckit-token-budget-compact -a claude-code`. Or copy the skill folder (.claude/skills/speckit-token-budget-compact in haru/redmine_ai_helper) into .claude/skills/speckit-token-budget-compact in your project. Claude Code loads it when a task matches its description.
Run `npx skills add haru/redmine_ai_helper --skill speckit-token-budget-compact -a codex`. Or copy the skill folder (.claude/skills/speckit-token-budget-compact in haru/redmine_ai_helper) into .agents/skills/speckit-token-budget-compact in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add haru/redmine_ai_helper --skill speckit-token-budget-compact -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/speckit-token-budget-compact, .gemini/skills/speckit-token-budget-compact, .github/skills/speckit-token-budget-compact and .opencode/skills/speckit-token-budget-compact in your project.
SKILL.md names no scripts, command-line tools or credentials: Speckit Token Budget Compact is instructions for the agent only. Compatibility (from SKILL.md): Requires spec-kit project structure with .specify/ directory.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Speckit Token Budget Compact is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Speckit Token Budget Compact: LobeHub Alint Rule Set Maintenance (lobehub/lobehub, 83k stars), Levyra Context Efficiency (LUC4N3X/Levyra-deepsound, 591 stars), Docs Impact Classifier (microsoft/apm, 4k stars) and Cost (Houseofmvps/ultraship, 123 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
haru (a GitHub user) maintains it in haru/redmine_ai_helper, which has 106 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 10, 2026.
Source: haru/redmine_ai_helper on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.