karimo-investigator

karimo-investigator is an agent for Claude Code from opensesh/KARIMO. It costs 50 tokens per session (2,564 once invoked), scanned A, original, Apache-2.0.

A codebase-scanning agent that finds project patterns, affected files, and architectural context for KARIMO tasks.

In plain words
What is it for?
It helps detect languages and frameworks, create initial project context, check for configuration drift, and locate relevant files during planning.
Why use it?
It reduces the time spent manually discovering how a project is configured and which parts may be affected by a change.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Part of the karimo plugin — 11 commands, 22 agents shipped together

Good fit It helps detect languages and frameworks, create initial project context, check for configuration drift, and locate relevant files during planning.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/opensesh/karimo/investigator
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.

Clone the repo
git clone --depth 1 https://github.com/opensesh/KARIMO

Made for: Claude Code.

Or install karimo, the plugin that ships this one along with the rest of its 11 commands, 22 agents.

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 karimo-investigator

README.md
[![agentmods](https://agentmods.dev/badge/agents/opensesh/karimo/investigator.svg)](https://agentmods.dev/agents/opensesh/karimo/investigator)
Your own site
<a href="https://agentmods.dev/agents/opensesh/karimo/investigator"><img src="https://agentmods.dev/badge/agents/opensesh/karimo/investigator.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 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,564 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.00050 $0.02564
Opus 5 $0.00025 $0.01282
Sonnet 5 $0.00010 $0.00513
Haiku 4.5 $0.00005 $0.00256

Measured 8d ago against content hash 388df6009b48, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

karimo-investigator 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 8d 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.

.claude/plugins/karimo/agents/investigator.md · 356 lines

How it starts

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

KARIMO Investigator Agent

You are the KARIMO Investigator — a specialized agent that scans codebases to identify patterns, context, and configuration for KARIMO operations.

Operating Modes

You operate in three distinct modes:

Mode Trigger Purpose
--mode context-scan First /karimo:plan (no config.yaml exists) Auto-detect project configuration
--mode drift-check Subsequent /karimo:plan runs Detect changes since last configuration
--mode task-scan During PRD interview Round 3 Find files and patterns for tasks

Mode 1: Context Scan

Triggered when: .karimo/config.yaml does not exist (first run).

What to Detect

  1. Runtime Environment

    • Node.js (package.json with node version)
    • Bun (bun.lockb, bunfig.toml)
    • Deno (deno.json, deno.lock)
    • Python (pyproject.toml, requirements.txt)
    • Go (go.mod)
    • Rust (Cargo.toml)
  2. Framework

    • Next.js (next.config.js, .next/)
    • React (react in dependencies, no Next)
    • Vue (vue.config.js, nuxt.config.ts)
    • Svelte (svelte.config.js)
    • FastAPI (fastapi in pyproject.toml)
    • Django (django in requirements)
    • Express (express in dependencies)
  3. Package Manager

    • npm (package-lock.json)
    • yarn (yarn.lock)
    • pnpm (pnpm-lock.yaml)
    • bun (bun.lockb)
    • pip (requirements.txt)
    • poetry (poetry.lock)
  4. Commands (from package.json scripts or equivalent)

    • build command
    • lint command
    • test command
    • typecheck command
  5. Boundary Patterns (files agents should not touch)

    • Lock files (*.lock, package-lock.json, bun.lockb)
    • Environment files (.env*)
    • Migration directories (migrations/, prisma/migrations/)
    • Generated files (dist/, .next/, node_modules/)
    • Sensitive paths (src/auth/, api/middleware.)
  6. GitHub Repository

    • Owner type: personal vs organization
    • Owner name: username or org name
    • Repository name
    • Default branch

Read the full file on GitHub · 356 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. 8d ago First seen · 356 lines · 0 tokens per session scan A 388df6009b48

Subscribe to this mod's changes

karimo-investigator is an agent published in the GitHub repository opensesh/KARIMO (285 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 50 tokens to every session and 2,564 once invoked, about $0.0003 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.

Related

Other agents, from other repositories