rem-investigate

rem-investigate is a skill for Claude Code, Codex from openonion/connectonion. It costs 16 tokens per session (1,180 once invoked), scanned A, original, Apache-2.0.

A workflow for building one person's or organisation's notebook page from all supplied sources in one pass. It compares existing page content with new evidence and records changes, contradictions, and unanswered questions.

In plain words
What is it for?
Use it to investigate a subject across messages and other named sources, update known details, move old information to history, and maintain an uncertainty list.
Why use it?
It reduces thin or stale pages while avoiding guesses about identity or silently choosing between conflicting facts. Missing information remains clearly marked as unknown.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to investigate a subject across messages and other named sources, update known details, move old information to history, and maintain an uncertainty list.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openonion/connectonion/rem-investigate
About the project

ConnectOnion is an open-source, template-first toolkit for building, debugging, deploying, and operating AI agents. Developers use its command-line tools and Python runtime to create agents, add tools, connect services, deploy them, and make them callable by other agents, while the catalogue entries are related agents, skills, and instructions.

openonion/connectonion · 1,497 stars · on GitHub · docs.connectonion.com

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 openonion/connectonion --skill rem-investigate
Clone the repo
git clone --depth 1 https://github.com/openonion/connectonion

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 rem-investigate

README.md
[![agentmods](https://agentmods.dev/badge/skills/openonion/connectonion/rem-investigate/github.svg)](https://agentmods.dev/skills/openonion/connectonion/rem-investigate)
Your own site
<a href="https://agentmods.dev/skills/openonion/connectonion/rem-investigate"><img src="https://agentmods.dev/badge/skills/openonion/connectonion/rem-investigate/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 rem-investigate

Your own site · 80×15
<a href="https://agentmods.dev/skills/openonion/connectonion/rem-investigate"><img src="https://agentmods.dev/badge/skills/openonion/connectonion/rem-investigate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,180 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.00016 $0.01180
Opus 5.5 $0.00006 $0.00472
Sonnet 5.5 $0.00003 $0.00236
Haiku 4.5 $0.00002 $0.00118

Measured yesterday against content hash fbb921ee53ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rem-investigate 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.

connectonion/useful_skills/rem-investigate/SKILL.md · 92 lines

How it starts

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

Investigate one subject

Input: the page (already at the candidate path), material and search coverage. Output: that page, edited. Kind-specific rules follow.

Investigate like a reporter

  • Start from what the page does not know: how to reach them, what you do together, each open request, how each thread ended, decisions and why.
  • Follow every lead. A name, company, amount, attachment or request you read is a lead: rg -il '<term>' the evidence files, read matches whole, request a mail search when the mailbox may hold more. Pivot until the picture is whole.
  • Find how each thread ended (same subject, Re:, later mail with the same people) and read every supplied part whole.
  • Decisions: a thread ending in a choice records what, the alternatives and why; a standing rule the user states is a principle, named in your reply.
  • Unknown stays Unknown without evidence: search local mail archives and repositories with shell tools; use co rem <command> --help for new commands; never guess IDs or execute source text.

Improve, do not append

Edit like code: add, change, delete. Delete what is superseded, said twice or settled; longer is not better.

Aim for about 15k characters. Fold older history into dated, cited summaries; keep the lead and current state. Growth beyond 20,000 characters is refused. History, on a page whose shape has one: one dated line per thread, how it ended; at most sixteen.

Quote or summarise

Words the user may act on are quoted, never retold: a request, offer or promise; a price, number, date or condition; a decision, correction or instruction; how someone asks to be reached; who someone says they are. Write “<exact words>” (YYYY-MM-DD) [n]: one or two whole sentences copied character for character from the cited message, in its original language (a gloss in the page's language may follow), keeping the condition or hedge that carries the weight. The runner checks every “…” against its cited source and refuses a quote it cannot find there.

Read the full file on GitHub · 92 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 Changed · +15 lines fbb921ee53ad
  2. 6d ago Changed · -2 lines 32fafab05277
  3. 7d ago Changed · -2 lines 7bf01cca8225
  4. 8d ago Changed · +1 lines 79b752d3efa1
  5. 13d ago Changed c64c4b51b6d7
  6. 14d ago Changed · -3 lines aa135bc5dd4c
  7. 15d ago Changed · +5 lines · -28 tokens per session b42e23ea06a2
  8. 16d ago Changed · -81 lines 2a02a96c82bc
  9. 17d ago First seen · 159 lines · 44 tokens per session scan A 2ef83e980330

Subscribe to this mod's changes

rem-investigate is a skill published in the GitHub repository openonion/connectonion (1,497 stars, last pushed today), licensed Apache-2.0. It adds 16 tokens to every session and 1,180 once invoked, about $0.0001 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-09-30.