Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ncaq/konoka --skill bump-cabal-index-stategit clone --depth 1 https://github.com/ncaq/konokaWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ncaq/konoka/bump-cabal-index-state)<a href="https://agentmods.dev/skills/ncaq/konoka/bump-cabal-index-state"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/bump-cabal-index-state/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ncaq/konoka/bump-cabal-index-state"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/bump-cabal-index-state.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00030 | $0.01199 |
| Opus 5.5 | $0.00012 | $0.00480 |
| Sonnet 5.5 | $0.00006 | $0.00240 |
| Haiku 4.5 | $0.00003 | $0.00120 |
Grade A, and why
bump-cabal-index-state scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
cabalプロジェクトのindex-stateを最新に更新します。
動作確認が成功したらコミットし、GitHubを利用している場合はプルリクエストも作成します。
ブランチの作成
プルリクエストの作成に備えてブランチを作成します。
git switch -c bump-cabal-index-state
cabal updateの実行
cabal update
出力のThe index-state is set toの行から、最新のindex-stateのタイムスタンプを取得します。
Downloading the latest package list from hackage.haskell.org
Package list of hackage.haskell.org is up to date.
The index-state is set to 2026-01-11T09:48:01Z.
index-stateの更新
index-stateは通常はcabal.projectにindex-state: YYYY-MM-DDTHH:mm:ssZの形式で書かれています。
この日時を、取得したタイムスタンプに書き換えます。
index-state:と日時の間に、hackage.haskell.orgのようなドメインの指定が入っていることも稀にあります。
cabal.projectに書かれていない場合は、
cabal.project.localやflake.nixなどに書かれていることがあるので、探して更新します。
動作確認
Nixを使用しているプロジェクトでは、以下のコマンドを実行します。
nix flake check
Nixを使用していないプロジェクトでは、以下のコマンドを実行します。
cabal build --disable-optimization --enable-tests all
haskell.nixを使用している場合の遅れへの対応
haskell.nixは最新のindex-stateへの対応が遅れるので、
最新のindex-stateを指定すると以下のようなエラーになることがあります。
> Error: [Cabal-7159]
> Latest known index-state for 'hackage.haskell.org' (2026-01-05T23:03:18Z) is older than the requested index-state (2026-01-11T18:45:48Z).
> Run 'cabal update' or set the index-state to a value at or before 2026-01-05T23:03:18Z.
このエラーが出た場合は、エラーメッセージに表示されている、
haskell.nixが認識している最新の値(この例では2026-01-05T23:03:18Z)にindex-stateを書き換えて、
もう一度動作確認を行います。
コミット
動作確認が成功したらコミットします。 成功しなかった場合は、コミットせずに完了報告へ進みます。
コミットメッセージのタイトルはbuild(deps): cabalのindex-stateを更新です。
本文は以下のテンプレートから作ります。
`cabal.project`の`index-state`を`YYYY-MM-DDTHH:mm:ssZ`に更新しました。
cabal.projectは、実際に更新したファイル名に置き換えます。YYYY-MM-DDTHH:mm:ssZは、新しいindex-stateに置き換えます。- ドメインの指定がある場合は、
index-stateの前に、 更新したドメイン(hackage.haskell.orgなど)をスペースで囲んで追加します。
プルリクエストの作成
以下のコマンドで、GitHubを利用しているかを確認します。 GitHubを利用していない場合は、この手順を飛ばします。
git remote --verbose
GitHubを利用している場合は、リモートリポジトリにプッシュしてから、プルリクエストを作成します。
git push --verbose --set-upstream origin
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago Changed · -19 lines 4579b14084ee
- 14d ago Changed · +18 lines 8c88c6a4355d
- 3mo ago First seen · 133 lines · 30 tokens per session scan A a1bfabf3e09b
bump-cabal-index-state is a skill published in the GitHub repository ncaq/konoka (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 30 tokens to every session and 1,199 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
bump-cabal-index-state compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bump-cabal-index-statencaq/konoka | Skill | 3 | yesterday | Apache-2.0 | A | 30 | Claude Code |
| better-authsecondsky/claude-skills | Skill | 257 | 3d ago | MIT | A | 53 | Claude Code |
| hono-routingsecondsky/claude-skills | Skill | 257 | 3d ago | MIT | A | 41 | Claude Code |
| bun-bundlersecondsky/claude-skills | Skill | 257 | 3d ago | MIT | A | 90 | Claude Code |
| bun-hot-reloadingsecondsky/claude-skills | Skill | 257 | 3d ago | MIT | A | 42 | Claude Code |
| bun-ffisecondsky/claude-skills | Skill | 257 | 3d ago | MIT | A | 56 | Claude Code |
| cloudflare-workers-multi-langsecondsky/claude-skills | Skill | 257 | 3d ago | MIT | A | 45 | Claude Code |