Agent skill

Monthly Cpi Data Update

by palewire in palewire/cpi

Refresh this repository's CPI data from BLS, regenerate its tracked outputs, and update the monthly test expectations.

MITAuto-check passed

Install Monthly Cpi Data Update

skills CLI
$ npx skills add palewire/cpi --skill monthly-cpi-data-update -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install palewire/cpi monthly-cpi-data-update --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/palewire/cpi.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/monthly-cpi-data-update .claude/skills/monthly-cpi-data-update && rm -rf skills-src

Use ~/.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/

Facts

Skill name
monthly-cpi-data-update
GitHub stars
145
Token cost
~1k tokens
SKILL.md length
574 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Refresh this repository's CPI data from BLS, regenerate its tracked outputs, and update the monthly test expectations.

  • Works in 4 steps: Work from the repository's main branch.… → Read the update and test targets in… → The local database cpi/cpi.db is ignored… → …
  • The recurring monthly CPI data maintenance workflow in this repo
  • SKILL.md covers Before refreshing, Refresh and update expectations and Finish and release
  • Calls make

What it does

Monthly Cpi Data Update is an agent skill from palewire/cpi. Refresh this repository's CPI data from BLS, regenerate its tracked outputs, and update the monthly test expectations. Use for the recurring monthly CPI data maintenance workflow in this repo.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Python and SQLite. The repository describes itself as: Quickly adjust U.S. dollars for inflation using the Consumer Price Index (CPI). The licence is MIT.

When your agent uses it

  • The recurring monthly CPI data maintenance workflow in this repo

Example prompts

  • “/monthly-cpi-data-update”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Work from the repository's main branch. Check git status --short --branch and preserve any uncommitted user changes. If the checkout is…
  2. Read the update and test targets in Makefile and check the monthly constants at the top of tests/test_input.py.
  3. The local database cpi/cpi.db is ignored by Git. make update clears and rebuilds its tables from BLS downloads, then executes…
  4. If the database is incomplete and package import fails before the update command starts, inspect the local schema and diagnose the cause…

What it can do on your machine

Read from SKILL.md and the folder at commit 4eea4b1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • make

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Monthly Cpi Data Update loads about 1k tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 574 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~54
When it runs · the whole SKILL.md, loaded when a task matches
~1k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from palewire/cpi at commit 4eea4b1, republished under its MIT licence (© palewire). 574 words, ~1,011 tokens.

Download SKILL.mdSave it as .claude/skills/monthly-cpi-data-update/SKILL.md (or your agent's skills folder).
name
monthly-cpi-data-update
description
Refresh this repository's CPI data from BLS, regenerate its tracked outputs, and update the monthly test expectations. Use for the recurring monthly CPI data maintenance workflow in this repo.

Monthly CPI data update

Use this skill when updating the BLS data and generated outputs for the cpi project. The repository's Makefile, downloader, notebook, and tests define the workflow; keep the refresh consistent with those sources.

Before refreshing

  1. Work from the repository's main branch. Check git status --short --branch and preserve any uncommitted user changes. If the checkout is clean and behind origin/main, fast-forward it before starting.
  2. Read the update and test targets in Makefile and check the monthly constants at the top of tests/test_input.py.
  3. The local database cpi/cpi.db is ignored by Git. make update clears and rebuilds its tables from BLS downloads, then executes notebooks/analysis.ipynb and sample.py. It needs network access and may take several minutes. Do not delete or overwrite unrelated local files.
  4. If the database is incomplete and package import fails before the update command starts, inspect the local schema and diagnose the cause. Deleting cpi/cpi.db is outside the normal Makefile sequence; do it only when the user has authorized a rebuild. When the database is absent, package import may bootstrap a download before python -m cpi.download runs its own update, so the first run can download twice.

Refresh and update expectations

  1. Run make update and let it finish. If it fails, diagnose the cause before proceeding; do not silently skip notebook or sample generation.
  2. Run make test before changing expected values. The monthly assertions may fail because the expected month and CPI values are intentionally pinned in the test file. Inspect the failure output and confirm each discrepancy is explained by the refreshed database. Treat unrelated failures as problems to investigate, not stale expectations.
  3. If test failures do not make the latest month and values clear, read them from the refreshed database through the public API. For example, run: uv run python -c 'from datetime import date; import cpi; print(cpi.LATEST_MONTH); print(cpi.inflate(100, date(1950, 1, 1))); print(cpi.inflate(100, date(1950, 1, 1), series_id="CUSR0000SA0"))'
  4. Update only the monthly constants at the top of tests/test_input.py from the refreshed database/test output:
    • LATEST_MONTH
    • LATEST_MONTH_1950_ALL_ITEMS
    • LATEST_MONTH_1950_CUSR0000SA0
  5. Leave annual constants alone unless annual CPI data or its tested values changed. Do not round or estimate the expected values; use the precise actual values used by the tests.
  6. Run make test again. Continue only when the suite passes; note any expected stale-data warning separately from failures.
  7. Run the configured pre-commit hooks on the changed files using make hooks, then review git diff --check, git status, and the full diff. Confirm that generated changes under data/ and notebooks/ are relevant to the refresh and that no SQLite database, cache, coverage file, or build artifact is staged.
Show full SKILL.md (135 more words)Show less

Finish and release

  • Summarize the refreshed data month, changed outputs, and verification results.
  • Commit and push only when the user has asked for those actions or clearly authorized them for this refresh. Keep the update commit focused on data outputs and test expectations.
  • A PyPI release is a separate action. This project derives versions from vMAJOR.MINOR.PATCH Git tags; pushing a tag starts CI and can publish to PyPI. Do not create or move a tag unless the user explicitly requests a release. Do not report a release as published until the tagged CI workflow finishes successfully.
  • If CI fails linting, inspect the job log and compare its Ruff version with the version pinned in .pre-commit-config.yaml. Keep the CI Ruff version aligned with the repository's configured version rather than broadening a data refresh into unrelated reformatting.

© palewire, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/monthly-cpi-data-update of palewire/cpi.

Open the folder on GitHubat commit 4eea4b1

Compare with similar skills

Monthly Cpi Data Update 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.

Monthly Cpi Data Update compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Monthly Cpi Data Update this skillpalewire/cpi145—~1kAutomated safety check: PassMIT
MCP Server BuildershareAI-lab/learn-claude-code78k4 repos~1.2kAutomated safety check: PassMIT
Agent Memorytigerless-labs/agent-memory3.4k—~1.3kAutomated safety check: PassMIT
WeChat Article DownloaderMoore-developers/moore-wechat-article-downloader294—~3.4kAutomated safety check: PassMIT
Cortexdb Memory Hermesliliang-cn/cortexdb274—~1.7kAutomated safety check: PassMIT
Cognee Session Memory and Improvetopoteretes/cognee32k—~3.2kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 4 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Agent Memory

    tigerless-labs/agent-memory

    Read and write the shared long-term memory store. An agent skill from tigerless-labs/agent-memory.

    3.4k GitHub stars~1.3k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • WeChat Article Downloader

    Moore-developers/moore-wechat-article-downloader

    Downloads and manages WeChat official account articles from URLs, an account's history or subscriptions, adding engagement metrics and top comments when a valid session exists.

    294 GitHub stars~3.4k tokensUpdated 2 mo ago
    Productivity & AutomationAuto-check passed
  • Cortexdb Memory Hermes

    liliang-cn/cortexdb

    Give a Python agent (such as Hermes Agent by Nous Research) durable, local-first memory plus a queryable SPARQL knowledge graph, backed by CortexDB through its gRPC sidecar and the cortexdb-client…

    274 GitHub stars~1.7k tokensUpdated 2 days ago
    Knowledge ManagementAuto-check passed
  • Explains how cognee stores session memory by session_id and bridges it into the permanent graph with improve(), including the stages, results and settings.

    32k GitHub stars~3.2k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Inspects, queries and carefully modifies the MoviePilot SQLite or PostgreSQL database through a bundled script that reads connection settings itself, without needing the password in the prompt.

    12k GitHub stars~7.3k tokensUpdated yesterday
    DatabasesAuto-check passed

Works with

Questions about Monthly Cpi Data Update

What does Monthly Cpi Data Update do?

Refresh this repository's CPI data from BLS, regenerate its tracked outputs, and update the monthly test expectations. Monthly Cpi Data Update is an agent skill from palewire/cpi. Refresh this repository's CPI data from BLS, regenerate its tracked outputs, and update the monthly test expectations.

When should I use Monthly Cpi Data Update?

Monthly Cpi Data Update fits situations like: the recurring monthly CPI data maintenance workflow in this repo.

How do I install Monthly Cpi Data Update in Claude Code?

Run `npx skills add palewire/cpi --skill monthly-cpi-data-update -a claude-code`. Or copy the skill folder (.agents/skills/monthly-cpi-data-update in palewire/cpi) into .claude/skills/monthly-cpi-data-update in your project. Claude Code loads it when a task matches its description.

How do I install Monthly Cpi Data Update in Codex?

Run `npx skills add palewire/cpi --skill monthly-cpi-data-update -a codex`. Or copy the skill folder (.agents/skills/monthly-cpi-data-update in palewire/cpi) into .agents/skills/monthly-cpi-data-update in your project. Codex loads it when a task matches its description.

Can I use Monthly Cpi Data Update in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add palewire/cpi --skill monthly-cpi-data-update -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/monthly-cpi-data-update, .gemini/skills/monthly-cpi-data-update, .github/skills/monthly-cpi-data-update and .opencode/skills/monthly-cpi-data-update in your project.

What does Monthly Cpi Data Update need to run?

Going by SKILL.md and its folder, Monthly Cpi Data Update needs the command-line tools its instructions call (make). Our summary lists: Python 3.

Does Monthly Cpi Data Update access the network?

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.

Is Monthly Cpi Data Update safe to install?

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.

What licence does Monthly Cpi Data Update use?

Monthly Cpi Data Update is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Monthly Cpi Data Update use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Monthly Cpi Data Update?

Skills that share tags, products or a category with Monthly Cpi Data Update: MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), Agent Memory (tigerless-labs/agent-memory, 3.4k stars), WeChat Article Downloader (Moore-developers/moore-wechat-article-downloader, 294 stars) and Cortexdb Memory Hermes (liliang-cn/cortexdb, 274 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Monthly Cpi Data Update?

palewire (a GitHub user) maintains it in palewire/cpi, which has 145 GitHub stars. The repository was last updated on October 8, 2026.

Source: palewire/cpi on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.