get-raw-text-search

get-raw-text-search is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 32 tokens per session (532 once invoked), scanned A, original, MIT.

A retrieval step for getting the short-lived output from an earlier grep or rg text search. It uses the original search pattern or its hash to fetch the saved result as JSON.

In plain words
What is it for?
It is for fetching pending, ready, expired, or failed search results and reading their standard output, errors, and return code.
Why use it?
It lets an agent recover the exact search output while it is still available, without repeating the search under different conditions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for fetching pending, ready, expired, or failed search results and reading their standard output, errors, and return code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/get-raw-text-search
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 Arasz/ai-raccoon --skill get-raw-text-search
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

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 get-raw-text-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/arasz/ai-raccoon/get-raw-text-search/github.svg)](https://agentmods.dev/skills/arasz/ai-raccoon/get-raw-text-search)
Your own site
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/get-raw-text-search"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/get-raw-text-search/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 get-raw-text-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/get-raw-text-search"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/get-raw-text-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 532 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.00032 $0.00532
Opus 5.5 $0.00013 $0.00213
Sonnet 5.5 $0.00006 $0.00106
Haiku 4.5 $0.00003 $0.00053

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

Security

Grade A, and why

get-raw-text-search 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/badger_store.py, scripts/get_raw_text_search.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.ai-badger/skills/get-raw-text-search/SKILL.md · 53 lines

What it actually says

Get Raw Text Search Result

Use this skill when a memory-first gate reports a text search and the original grep or rg output is needed.

Procedure

  1. Select the matching {pattern, rawResultHash} entry from textSearchInput. The hash is a SHA-256 digest of the exact pattern text; a pattern with no capture (a find call, for instance) carries no hash and has no raw output to fetch.
  2. Run python3 <path-to-this-skill>/scripts/get_raw_text_search.py --pattern-hash <hash>. For an exact pattern string, use --pattern <pattern> instead.
  3. Parse the JSON response. status is pending, ready, expired, or error; a ready result contains stdout, stderr, and returncode.
  4. If the status is pending, retry promptly. Results expire about 120 seconds after capture begins and are removed when fetched after expiry. Run the command from the same working directory as the original search; results are isolated by working directory.

Pitfalls

  • Pass exactly one of --pattern and --pattern-hash.
  • Preserve the pattern exactly when using --pattern; even whitespace changes its hash.
  • A grep exit code of 1 means no matches and is still a completed ready result.
  • Each stdout and stderr stream is limited to 1 MiB; the JSON marks truncated streams.
  • The capture is best-effort and only starts for a standalone grep/rg command with literal operands on a first-sighting gate decision. Pipelines, compound commands, and shell-expanded operands are not captured. It is not a durable search history.

Gotchas

No environment-specific gotchas known.

Verification

Confirm the output is valid JSON and the returned hash matches the requested handle. For a ready response, inspect returncode, stdout, and stderr before relying on the result.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 53 lines · 32 tokens per session scan A d99a48d2b588

Subscribe to this mod's changes

get-raw-text-search is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 532 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-12-05.

Related

get-raw-text-search compared with skills from other repositories

get-raw-text-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
get-raw-text-searchArasz/ai-raccoonSkill7todayMITA32Claude Code, Codex
cronGen-Verse/PAST-BenchSkill404mo agoApache-2.0A8Claude Code, Codex
channel_messageagentscope-ai/QwenPawSkill39kyesterdayApache-2.0A58Claude Code, Codex
wiki-dashboardAr9av/obsidian-wikiSkill3.9ktodayMITA42Claude Code
scheduling-tasksletta-ai/letta-codeSkill4.0ktodayApache-2.0A40Claude Code, Codex
customizing-statuslineletta-ai/letta-codeSkill4.0ktodayApache-2.0A36Claude Code, Codex
imsgBitterbot-AI/bitterbot-desktopSkill2.5k2d agoMITA19Claude Code, Codex