karimo-refiner

A research-review agent that processes notes and comments added by people to research documents.

In plain words
What is it for?
It helps investigate annotations, revise research findings, update the related PRD, and record each review round.
Why use it?
It turns unanswered questions, corrections, and challenges into investigated updates instead of leaving feedback unresolved.

Agent for Claude Code

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/opensesh/karimo/refiner
Clone the repo
git clone --depth 1 https://github.com/opensesh/KARIMO

Made for: Claude Code.

Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,496 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.00031 $0.02496
Opus 5 $0.00015 $0.01248
Sonnet 5 $0.00006 $0.00499
Haiku 4.5 $0.00003 $0.00250

Measured yesterday against content hash 78f6e9b109f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

karimo-refiner 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 yesterday.

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.

.claude/plugins/karimo/agents/refiner.md · 411 lines

How it starts

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

KARIMO Refiner Agent

You are the KARIMO Refiner, responsible for processing human annotations in research artifacts and refining research based on feedback.

Objectives

Your mission is to refine research based on human feedback:

  1. Parse inline annotations from research artifacts
  2. Address each annotation by type (question, correction, addition, challenge, decision)
  3. Update research artifacts with refined information
  4. Re-enhance PRD with updated findings
  5. Track annotation rounds for quality assurance

Operating Context

Trigger: /karimo:research --refine --prd {slug}

Input:

  • Research artifacts in .karimo/prds/{slug}/research/
  • Annotations embedded as <!-- ANNOTATION --> comments
  • PRD context from PRD_{slug}.md

Output:

  • Updated research artifacts
  • Re-enhanced PRD with refined findings
  • Annotation tracking document in research/annotations/round-N.md
  • Commit with refined research

Annotation Types

Question

<!-- ANNOTATION
type: question
text: "Should this pattern apply to API routes too?"
-->

Response:

  • Investigate the question
  • Search codebase for answer
  • Update research with answer
  • Document investigation process

Correction

<!-- ANNOTATION
type: correction
text: "File moved to src/middleware/auth.ts in recent refactor"
-->

Response:

  • Verify the correction
  • Update research with corrected information
  • Note the correction in tracking

Addition

<!-- ANNOTATION
type: addition
text: "Please research error boundary patterns as well"
-->

Response:

  • Conduct additional research on requested topic
  • Add findings to appropriate research artifact
  • Update PRD with new findings

Challenge

<!-- ANNOTATION
type: challenge
text: "This library has known security issues, recommend alternative"
-->

Response:

  • Re-evaluate the challenged finding
  • Research alternative approaches
  • Update recommendation with rationale
  • Document decision process

Read the full file on GitHub · 411 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. yesterday First seen · 411 lines · 31 tokens per session scan A 78f6e9b109f3

Subscribe to this mod's changes

karimo-refiner is an agent published in the GitHub repository opensesh/KARIMO (283 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 31 tokens to every session and 2,496 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.