upgrade-examples

upgrade-examples is a skill for Claude Code, Codex from cocoindex-io/cocoindex. It costs 42 tokens per session (482 once invoked), scanned A, original, Apache-2.0.

A reusable skill for upgrading the CocoIndex package version in example Python projects. It updates matching version requirements in example `pyproject.toml` files and describes the related branch, verification, commit, push, and pull-request steps.

In plain words
What is it for?
Use it when changing the CocoIndex version across all example projects. It is intended for branch creation, bulk version replacement, verification, committing, pushing, and opening a pull request.
Why use it?
It avoids manually editing many dependency files and provides a repeatable upgrade procedure. It also includes checks for confirming that the intended version was applied.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when changing the CocoIndex version across all example projects. It is intended for branch creation, bulk version replacement, verification, committing, pushing, and opening a pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cocoindex-io/cocoindex/upgrade-examples
About the project

CocoIndex is an incremental data-processing engine that keeps code, documents, messages, PDFs, and videos continuously updated as context for AI agents and language-model applications. Engineers use it to build declarative Python pipelines that process only changed data, and its catalogue skills help coding agents work with CocoIndex correctly.

cocoindex-io/cocoindex · 11,832 stars · on GitHub · cocoindex.io

Install

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.

Any agent
npx skills add cocoindex-io/cocoindex --skill upgrade-examples
Clone the repo
git clone --depth 1 https://github.com/cocoindex-io/cocoindex

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for upgrade-examples

README.md
[![agentmods](https://agentmods.dev/badge/skills/cocoindex-io/cocoindex/upgrade-examples/github.svg)](https://agentmods.dev/skills/cocoindex-io/cocoindex/upgrade-examples)
Your own site
<a href="https://agentmods.dev/skills/cocoindex-io/cocoindex/upgrade-examples"><img src="https://agentmods.dev/badge/skills/cocoindex-io/cocoindex/upgrade-examples/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.

agentmods 80×15 button for upgrade-examples

Your own site · 80×15
<a href="https://agentmods.dev/skills/cocoindex-io/cocoindex/upgrade-examples"><img src="https://agentmods.dev/badge/skills/cocoindex-io/cocoindex/upgrade-examples.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 482 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.00482
Opus 5.5 $0.00017 $0.00193
Sonnet 5.5 $0.00008 $0.00096
Haiku 4.5 $0.00004 $0.00048

Measured 2mo ago against content hash fe57651cfdfd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

upgrade-examples 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 2mo 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.

dev/agent-skills/upgrade-examples/SKILL.md · 64 lines

What it actually says

Upgrade Example Dependencies

Upgrade the cocoindex version in all example pyproject.toml files.

Usage

/upgrade-examples <version>

Example: /upgrade-examples 1.0.0a5

Instructions

To upgrade all example dependencies (replace VERSION with the actual version, e.g., 1.0.0a10):

  1. Create a new branch for the changes:
git checkout -b ex-dep-VERSION
  1. Run the following command to update all example pyproject.toml files.

Important: Use the literal version string directly in the sed command. Do not use shell variables as quoting issues can cause the version to be omitted.

find examples -name "pyproject.toml" -not -path "*/.venv/*" -exec grep -l "cocoindex" {} \; | xargs sed -i '' 's/cocoindex\([^>]*\)>=[0-9][0-9a-zA-Z.]*/cocoindex\1>=VERSION/g'
  1. Verify the changes show the correct version:
grep -r "cocoindex.*>=" examples --include="pyproject.toml" | grep -v ".venv"
  1. Commit and push the changes:
git add examples/*/pyproject.toml
git commit -m "chore: upgrade examples deps to cocoindex-VERSION"
git push -u origin ex-dep-VERSION
  1. Create a PR using the gh CLI and capture the PR URL from its output:
gh pr create --base v1 --title "chore: upgrade examples deps to cocoindex-VERSION" --body ""
  1. Switch back to the previous branch and delete the local branch:
git checkout v1
git branch -d ex-dep-VERSION
  1. Report the number of files updated and provide the PR link from the gh pr create output to the user.
Changes

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.

  1. 2mo ago First seen · 64 lines · 42 tokens per session scan A fe57651cfdfd

Subscribe to this mod's changes

upgrade-examples is a skill published in the GitHub repository cocoindex-io/cocoindex (11,832 stars, last pushed today), licensed Apache-2.0. It adds 42 tokens to every session and 482 once invoked, about $0.0002 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-30.

Related

upgrade-examples compared with skills from other repositories

upgrade-examples next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
upgrade-examplescocoindex-io/cocoindexSkill12ktodayApache-2.0A42Claude Code, Codex
derivation-pythonestuary/agent-skillsSkill74d agoApache-2.0A149Claude Code
Python скрипт для очистки CSV и подготовки к импорту в PostgreSQLECNU-ICALK/AutoSkillSkill6126mo agononeA96Claude Code, Codex
accelerated-computing-cudfPracticalSwan/agent-skillsSkill2420d agoMITA56Codex
Importazione XML in MS Access con mappatura dinamica dei tipiECNU-ICALK/AutoSkillSkill6126mo agononeA67Claude Code, Codex
pandasmanutej/luxor-claude-marketplaceSkill634mo agononeA14Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill56k6d agoMITA44Claude Code