IC

    ID-Coder: Qualitative Thematic Coding

    by Aryan Singh

    1

    Turn survey answers, reviews, or interviews into a reviewed codebook, themes, and a research report, then measure how reliably the codebook can be reapplied.

    Free

    Security scanned

    Works with the AI Agents you already use

    IC

    ID-Coder: Qualitative Thematic Coding

    Example session with this skill installed

    Code the reviews in data/reviews.csv into themes. Research question: what do players complain about?

    • Read your context and instructions
    • Compiled the id-coder

    The agent checks .idcoder/config.json and calls idcoder_status. It runs open coding, clustering, and labeling, then stops: "The proposed codebook is ready for review. Open it with /idcoder review (terminal) or /idcoder viewer (browser), then tell me to resume." After approval it finishes enrichment, meta-themes, and the research report, and can summarize the codebook or a single cluster with grounded quotes.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    ID-Coder is an agent-driven thematic-analysis pipeline for the pi coding agent. Point it at a corpus and a research question, and it builds a codebook in stages you can inspect: open coding, an optional validator, consolidation, clustering, and labeling. It then stops at a human codebook review gate.

    After you approve the codebook in the terminal or the browser viewer, it refines and enriches the clusters, builds a hierarchy and meta-themes, and writes a research report grounded in quotes.

    The second half tests the codebook. Deductive agents recode every quote using only the codebook, at three levels of detail. Krippendorff's α measures their agreement with the inductive coding, and the disagreements go to blind LLM judges and human judges.

    What the skill teaches your agent

    • Check or create .idcoder/config.json, then resume from checkpoints instead of starting over
    • Stop at the review gate and hand control to the researcher. The agent never approves, renames, merges, or drops clusters itself
    • Answer questions from structured inspection (codebook, a single cluster, meta-themes, report, evaluation, usage) and quote only grounded examples
    • Run the evaluation and explain what α and the judge preferences mean

    Credits

    • Authors: Aryan Singh, Yucai Zhong, Nima Motieifard, Chuyuan Li, and Jian Zhu
    • Method: ID-Coder: LLM-based Inductive-Deductive Coder for Qualitative Coding
    • Original implementation: Thematic_Analysis_Main
    • pi port and skill: pi-idcoder (MIT)

    Doesn't run without pi and the pi-idcoder extension. The agent won't approve or edit the codebook for you, so a researcher has to review it unless review.enabled is false. Evaluation requires a completed run with enrichment enabled. LLM and embedding costs depend on the provider you configure.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 15 days ago

    • Free with an Agensi account

    Software
    pi coding agent 1.1+pi-idcoder extension (npm)Node.js 22.19+LLM provider configured in pi
    Embeddings API
    orlocal model

    Install with `pi install npm:pi-idcoder`. For fully local embeddings, install @huggingface/transformers. The skill only runs where the idcoder_* tools are available.

    Permissions

    Read Files
    Write Files
    Network Access

    Allowed Hosts

    the LLM and embedding providers configured in pi

    File Scopes

    .idcoder/
    (config
    runs
    viewer
    data)
    the
    corpus
    file
    named
    in
    config

    The skill calls the idcoder_* tools from the pi-idcoder extension, and those tools send corpus text to the model and embedding providers you configure. The skill reads .idcoder/config.json and may write it. API keys come from your pi setup or the env var named in embeddings.apiKeyEnv. The skill never invents keys.

    Listed15 days ago

    What's inside

    Creator

    Aryan Singh

    Aryan Singh

    Frequently Asked Questions

    No. The run pauses at the review gate, and only a human can approve, rename, merge, split, or drop clusters. You can turn the gate off with review.enabled: false for fully automated runs.

    Any model pi supports, including OpenCode, Anthropic, OpenAI, Google, or a local OpenAI-compatible server such as vLLM, SGLang, or Ollama. Embeddings can come from any OpenAI-compatible API or run fully locally with transformers.

    CSV (a text_review, review_text, or text column), JSONL, or TXT with one document per line.

    Yes. Every finished unit of work is checkpointed, so a run resumes from where it stopped.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    Free