Bump Cabal Index State (Grade A) logo

Bump Cabal Index State (Grade A)Security-tested data-ai skill for Claude AI. Grade A. Update Cabal project index-state to the latest timestamp. Use when it needs to bump the cabal index-state.

(0)
Daniel NikulshynReviewed by Daniel Nikulshyn·Updated July 2026

Overview

Bump Cabal Index State (Grade A) is a script designed to update the index-state of a Cabal project to the latest available timestamp. It automates the process of updating the index-state and generates a pull request on GitHub, if necessary. The script handles different build systems, including Nix, and is particularly useful when using haskell.nix. It also accounts for the potential delay in haskell.nix's recognition of the latest index-state compared to Cabal's. The process involves creating a temporary branch, running the cabal update command to retrieve the latest index-state, updating the index-state in the cabal.project file or other relevant files, committing the changes, and finally creating a pull request on GitHub. This script is intended for use with Claude AI and has been security-tested.

Key features

  • Update Cabal index-state
  • Create a new branch for changes
  • Verify project build with Nix or Cabal
  • Commit changes with a specific message format
  • Create a pull request on GitHub

Pricing

Model
Free
Category
Skills
Rating
No reviews yet

Use cases

Updating Cabal Index-State

Use this tool when the Cabal index-state needs to be updated to the latest timestamp, ensuring the project uses the most recent package list from Hackage.

Resolving haskell.nix Errors

If haskell.nix errors occur due to outdated index-state, use this tool to update the Cabal index-state and resolve the errors.

Pros & Cons

Pros

  • Automates the process of updating Cabal index-state
  • Ensures the project uses the latest package list from Hackage

Cons

  • Requires GitHub and Git CLI for pull request creation
  • May encounter issues with haskell.nix if it's not updated to the latest index-state

Battle record

Across 1 battle in the Pantheon.

0
1st
1
2nd
0
3rd

Last battle

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Q&A

Can I use this tool without GitHub?

Yes. If your project is not on GitHub, skip the GitHub‑related steps; the script will still update the index state locally and run build checks.

Asked by Julia Steiner · May 24, 2026

What happens after the index state is updated?

The tool commits the change with a standardized message, pushes a new branch to GitHub, and uses the GitHub CLI to create a pull request labeled "Dependencies" with the title "build deps : cabalのindex stateを更新".

Asked by Kwabena Asante · May 6, 2026

How does the tool handle projects that use haskell.nix?

It checks the latest index state from Cabal, updates the appropriate file (cabal.project, cabal.project.local, or flake.nix), then runs `nix flake check`. If haskell.nix is behind, it uses the error message to set a compatible index state.

Asked by Frank Müller · Mar 27, 2026

What is required to run Bump Cabal Index State?

The script needs a GitHub account and the Git CLI to create branches and pull requests. It also requires the Bash shell, Cabal, and optionally Nix if your project uses it.

Asked by Ulla Nielsen · Mar 23, 2026

Ask a question

Skills alternatives

Manage Headers (Grade A) logo
Manage Headers (Grade A)Skills

Security-tested development skill for Claude AI. Grade A. Inspects and configures the security headers a Power Pages site sends to browsers — Content Security Policy, frame and clickjacking protection

(0)
Free
Using Git Worktrees (Grade A) logo
Using Git Worktrees (Grade A)Skills

Security-tested data-ai skill for Claude AI. Grade A. Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktre

(0)
Free
Ga4 Bigquery Schema (Grade A) logo
Ga4 Bigquery Schema (Grade A)Skills

Security-tested data-ai skill for Claude AI. Grade A. GA4 BigQuery Export Schema Reference — complete field reference, nested structures, query patterns, and performance tips

(0)
Free
Meta Capi (Grade A) logo
Meta Capi (Grade A)Skills

Security-tested data-ai skill for Claude AI. Grade A. Meta Conversions API (CAPI) Setup Reference — architecture, event types, customer information hashing, deduplication, implementation examples, AEM

(0)
Free
Callees (Grade A) logo
Callees (Grade A)Skills

Security-tested development skill for Claude AI. Grade A. Lista o que uma funcao/metodo chama (call graph direto)

(0)
Free
Test Module Name (Grade A) logo
Test Module Name (Grade A)Skills

Security-tested data-ai skill for Claude AI. Grade A. Name Haskell test modules after the module under test with a Spec suffix in the same namespace. Use when writing or reviewing Haskell test module

(0)
Free
Board Of Directors (Grade A) logo
Board Of Directors (Grade A)Skills

Security-tested data-ai skill for Claude AI. Grade A. Simulate a 5-member expert board deliberation for major decisions. Use when evaluating plans, architecture choices, feature designs, or any decisi

(0)
Free
Advpl Mvc Avancado (Grade A) logo
Advpl Mvc Avancado (Grade A)Skills

Security-tested development skill for Claude AI. Grade A. MVC avançado via PE (Pontos de Entrada) — adicionar grids customizadas em telas MVC padrão (CNTA300/MATA070/MATA440/MATA460/FINA040 via *STRU)

(0)
Free