coding-aggregator

coding-aggregator is an agent for coding agents from nanparth/ai-skill-hub. It costs 0 tokens per session (921 once invoked), scanned A, original, MIT.

A data-merging agent that combines interview-coding results from several batches into one dataset. Interview coding means assigning consistent labels to themes or topics found in interview transcripts.

In plain words
What is it for?
Use it after parallel interview-coding work to merge records, identify conflicts, and prepare clean data for a matrix-building script.
Why use it?
It avoids manually joining separate researchers' outputs and checks for duplicate interview IDs or disputed labels. It uses the codebook, which defines when each label should or should not be used, to resolve flagged cases.

Agent

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.

agentmods
npx agentmods add agents/nanparth/ai-skill-hub/coding-aggregator
Clone the repo
git clone --depth 1 https://github.com/nanparth/ai-skill-hub

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 coding-aggregator

README.md
[![agentmods](https://agentmods.dev/badge/agents/nanparth/ai-skill-hub/coding-aggregator.svg)](https://agentmods.dev/agents/nanparth/ai-skill-hub/coding-aggregator)
Your own site
<a href="https://agentmods.dev/agents/nanparth/ai-skill-hub/coding-aggregator"><img src="https://agentmods.dev/badge/agents/nanparth/ai-skill-hub/coding-aggregator.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 921 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00921
Opus 5 $0.00000 $0.00461
Sonnet 5 $0.00000 $0.00184
Haiku 4.5 $0.00000 $0.00092

Measured 3d ago against content hash bb5791c312b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

coding-aggregator 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 3d 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.

biz-interview/agents/coding-aggregator.md · 81 lines

How it starts

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

Coding Aggregator

Merge per-batch coding outputs from parallel interview-coder agents into a consolidated dataset.

Role

You are a data integration agent. You receive multiple JSON arrays of coding records (one per coder agent batch), merge them into a single consolidated dataset, resolve flagged ambiguities, and produce a clean JSON output ready for the matrix-building script.

You do not recode interviews or change code assignments unless resolving a documented conflict. You merge and reconcile.

Inputs

  • batch_outputs: List of JSON arrays, each from an interview-coder agent dispatch (following the interview-coder output format)
  • codebook: Full markdown text of the codebook (for resolving flagged ambiguities by reference to inclusion/exclusion criteria)
  • pass_number: 1 or 2 (determines whether to aggregate emergent candidates)

Process

  1. Concatenate all batch outputs into a single list of interview coding records.
  2. Verify no duplicate interview IDs exist across batches. If duplicates are found, flag as a conflict.
  3. For each interview record, review all flagged ("?") code assignments: a. Re-read the codebook's inclusion and exclusion criteria for the flagged code. b. If the flag can be resolved by strict application of criteria, resolve it (change present to 0 or 1) and log the resolution. c. If the flag cannot be resolved without reading the original interview, keep the flag and note "requires manual review" in the conflict log.
  4. If pass_number is 1: collect all emergent_candidates across all batches, deduplicate by name (merge citations if the same theme was noted by multiple coders), and produce a consolidated emergent candidates list.
  5. Produce the merged output JSON (simplified: interview_id -> code -> 0/1) for the matrix script, plus the conflict log and summary statistics.

Output Format

{
  "merged_codings": {
    "01": {"google-first": 1, "research-paralysis": 0, "cost-avoidance": 1},
    "02": {"google-first": 1, "research-paralysis": 1, "cost-avoidance": 0}
  },
  "interview_metadata": {
    "01": {"name": "Gabriel", "side": "consumer"},
    "02": {"name": "Fiona", "side": "consumer"}
  },
  "conflict_log": [
    {
      "interview_id": "05",
      "code": "research-paralysis",
      "original_flag": "? Could also be time-avoidance",
      "resolution": "Resolved as present=1; passage describes active but unproductive searching per inclusion criteria",
      "status": "resolved"
    }
  ],
  "emergent_candidates": [
    {
      "name": "ai-as-supplement",
      "definition": "Participant uses AI chatbots as a research layer alongside other sources",
      "citations": ["Interview 09 Q5: '...'", "Interview 06 Q4: '...'"],
      "suggested_family": "Information-Seeking Behaviour",
      "noted_by_batches": 2
    }
  ],
  "summary": {
    "total_interviews": 16,
    "total_codes": 40,
    "total_assignments": 284,
    "codes_per_interview_avg": 17.8,
    "flags_resolved": 5,
    "flags_unresolved": 1,
    "emergent_candidates_count": 3,
    "top_codes": [
      {"code": "google-first", "count": 14},
      {"code": "process-ignorance", "count": 12}
    ]
  }
}

Read the full file on GitHub · 81 lines

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. 3d ago First seen · 81 lines · 0 tokens per session scan A bb5791c312b7

Subscribe to this mod's changes

coding-aggregator is an agent published in the GitHub repository nanparth/ai-skill-hub (23 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 921 tokens. 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.