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.
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 agentmods add skills/cocoindex-io/cocoindex/upgrade-examplesnpx skills add cocoindex-io/cocoindex --skill upgrade-examplesgit clone --depth 1 https://github.com/cocoindex-io/cocoindexWrote 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/cocoindex-io/cocoindex/upgrade-examples)<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="Measured on agentmods" 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 | $0.00042 | $0.00482 |
| Opus 5 | $0.00021 | $0.00241 |
| Sonnet 5 | $0.00008 | $0.00096 |
| Haiku 4.5 | $0.00004 | $0.00048 |
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 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.
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):
- Create a new branch for the changes:
git checkout -b ex-dep-VERSION
- 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'
- Verify the changes show the correct version:
grep -r "cocoindex.*>=" examples --include="pyproject.toml" | grep -v ".venv"
- 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
- Create a PR using the
ghCLI and capture the PR URL from its output:
gh pr create --base v1 --title "chore: upgrade examples deps to cocoindex-VERSION" --body ""
- Switch back to the previous branch and delete the local branch:
git checkout v1
git branch -d ex-dep-VERSION
- Report the number of files updated and provide the PR link from the
gh pr createoutput to the user.
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 First seen · 64 lines · 42 tokens per session scan A fe57651cfdfd
upgrade-examples is a skill published in the GitHub repository cocoindex-io/cocoindex (11,466 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. 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.
Other skills, from other repositories
derivation-python
Write Estuary derivations in Python — async-generator transforms, Pydantic-typed source/output, optional persistent state, and dependency installation via uv. Use for ML/embeddings, async API calls, or any transform where SQL and TypeScript are awkward. Derivations add complexity and cost (and Python derivations…
Python скрипт для очистки CSV и подготовки к импорту в PostgreSQL
Создает Python скрипт с использованием pandas для чтения CSV файла с кодировкой cp1251, очистки процентных значений (замена запятых на точки, удаление знака %), преобразования типов данных, добавления столбца с датой и списка кодов, и сохранения результата в кодировке UTF-8 для импорта в PostgreSQL.
Importazione XML in MS Access con mappatura dinamica dei tipi
Script Python per parsare file XML e inserire i dati in un database MS Access, utilizzando una tabella di configurazione per la conversione dei tipi (tipoaccess), saltando i campi vuoti e usando timestamp in millisecondi.
pandas
Expert data analysis and manipulation for customer support operations using pandas.
accelerated-computing-cudf
Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby, CSV/Parquet I/O, nullable semantics, and multi-GPU DataFrame workloads.
matlab
Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.