oms-cocoindex

oms-cocoindex is a skill for Claude Code, Codex from armelhbobdad/oh-my-skills. It costs 168 tokens per session (9,734 once invoked), scanned A, original, Apache-2.0.

A Python framework for building data flows that collect, transform, and incrementally index information. It uses a Rust engine to update only the parts affected by changed data, supporting embeddings, knowledge graphs, vector search, and text extraction by language models.

In plain words
What is it for?
It helps build ETL pipelines, retrieval-augmented generation data imports, searchable vector indexes, and knowledge graphs. You define the flows in Python and send results to configured targets such as databases.
Why use it?
It reduces repeated processing when source data changes by recomputing affected results instead of rebuilding everything. It also provides a structured way to connect data sources, transformations, and destinations.

Skill for Claude CodeCodex

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

Good fit It helps build ETL pipelines, retrieval-augmented generation data imports, searchable vector indexes, and knowledge graphs. You define the flows in Python and send results to configured targets such as databases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/armelhbobdad/oh-my-skills/oms-cocoindex
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 armelhbobdad/oh-my-skills --skill oms-cocoindex
Clone the repo
git clone --depth 1 https://github.com/armelhbobdad/oh-my-skills

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 oms-cocoindex

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/armelhbobdad/oh-my-skills/oms-cocoindex"><img src="https://agentmods.dev/badge/skills/armelhbobdad/oh-my-skills/oms-cocoindex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 168 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,734 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.
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.00168 $0.09734
Opus 5.5 $0.00067 $0.03894
Sonnet 5.5 $0.00034 $0.01947
Haiku 4.5 $0.00017 $0.00973

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

Security

Grade A, and why

oms-cocoindex 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 1mo 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.

skills/oms-cocoindex/0.3.37/oms-cocoindex/SKILL.md · 435 lines

How it starts

The opening of the file, as written. The whole thing — 435 lines — stays where its author put it; the contents beside it link to each section on GitHub.

oms-cocoindex

Overview

cocoindex is a Python ETL framework with a Rust engine for building incremental data indexes (embeddings, knowledge graphs, vector search, LLM extraction). Users author flows in Python; the Rust engine handles incremental recomputation and target state management.

  • Source: cocoindex-io/cocoindex @ v0.3.37 (commit 87c5dbf0)
  • Forge tier: Deep — AST structural extraction + QMD temporal/docs enrichment
  • Exports documented: 102 public exports (T1 AST-verified) across flow, lib, index, llm, setting, auth_registry, query_handler, typing, op, sources, targets, functions, cli, utils
  • Confidence distribution: T1 = 102, T2 = 15, T3 = 10 (docs), T1-low = 0

Note on stability: cocoindex is Development Status 3 — Alpha. This skill is pinned to tag v0.3.37; upstream has since moved to v1.0.0-alpha*. Re-forge for newer versions.

Quick Start

End-to-end text-embedding flow — read markdown files, chunk, embed with SentenceTransformer, export to Postgres + pgvector:

import cocoindex

@cocoindex.flow_def(name="TextEmbedding")
def text_embedding_flow(
    flow_builder: cocoindex.FlowBuilder,
    data_scope: cocoindex.DataScope,
):
    data_scope["documents"] = flow_builder.add_source(
        cocoindex.sources.LocalFile(path="markdown_files")
    )
    doc_embeddings = data_scope.add_collector()

    with data_scope["documents"].row() as doc:
        doc["chunks"] = doc["content"].transform(
            cocoindex.functions.SplitRecursively(),
            language="markdown", chunk_size=2000, chunk_overlap=500,
        )
        with doc["chunks"].row() as chunk:
            chunk["embedding"] = chunk["text"].transform(
                cocoindex.functions.SentenceTransformerEmbed(
                    model="sentence-transformers/all-MiniLM-L6-v2"
                )
            )
            doc_embeddings.collect(
                filename=doc["filename"],
                location=chunk["location"],
                text=chunk["text"],
                embedding=chunk["embedding"],
            )

    doc_embeddings.export(
        "doc_embeddings",
        cocoindex.targets.Postgres(),
        primary_key_fields=["filename", "location"],
        vector_indexes=[
            cocoindex.VectorIndexDef(
                field_name="embedding",
                metric=cocoindex.VectorSimilarityMetric.COSINE_SIMILARITY,
            )
        ],
    )

Read the full file on GitHub · 435 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 435 lines · 168 tokens per session scan A 859c4599e5eb

Subscribe to this mod's changes

oms-cocoindex is a skill published in the GitHub repository armelhbobdad/oh-my-skills (7 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 168 tokens to every session and 9,734 once invoked, about $0.0007 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.