agent-workflows

agent-workflows is a skill for Claude Code, Codex from coltonbearden/carrel. It costs 58 tokens per session (635 once invoked), scanned A, original, MIT.

A set of patterns for connecting carrel, a local file-search tool, with Claude Code in repeated workflows and pipelines.

In plain words
What is it for?
Use it to watch folders and process new files, index a document collection, search it, and pass selected results to Claude for analysis.
Why use it?
It helps automate recurring file processing and search-based questions without sending an entire document collection into one prompt.

Skill for Claude CodeCodex

Part of the carrel-agent plugin — 1 skill, 1 agent, 1 hook, 1 MCP server shipped together

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 skills/coltonbearden/carrel/agent-workflows
Any agent
npx skills add coltonbearden/carrel --skill agent-workflows
Clone the repo
git clone --depth 1 https://github.com/coltonbearden/carrel

Made for: Claude Code, Codex.

Or install carrel-agent, the plugin that ships this one along with the rest of its 1 skill, 1 agent, 1 hook, 1 MCP server.

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 agent-workflows

README.md
[![agentmods](https://agentmods.dev/badge/skills/coltonbearden/carrel/agent-workflows.svg)](https://agentmods.dev/skills/coltonbearden/carrel/agent-workflows)
Your own site
<a href="https://agentmods.dev/skills/coltonbearden/carrel/agent-workflows"><img src="https://agentmods.dev/badge/skills/coltonbearden/carrel/agent-workflows.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 635 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.00058 $0.00635
Opus 5 $0.00029 $0.00318
Sonnet 5 $0.00012 $0.00127
Haiku 4.5 $0.00006 $0.00064

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

Security

Grade A, and why

agent-workflows 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 4d 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.

plugins/carrel-agent/skills/agent-workflows/SKILL.md · 45 lines

How it starts

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

Agent workflows with carrel

Patterns for wiring carrel and Claude Code together into pipelines. Run carrel doctor --json first to see what the environment supports, and --help on any carrel command before scripting it.

Pattern: watch + claude -p pipeline

React to new files with a headless Claude turn. Example — summarize every PDF dropped into a folder:

carrel watch ~/inbox --on created --glob '*.pdf' \
  --run 'sh -c "carrel convert {path} --to txt -o /tmp/drop.txt --force && claude -p \"Summarize /tmp/drop.txt in 5 bullets\" >> ~/inbox/summaries.md"'

Notes: keep the claude -p prompt self-contained; append results to a log/markdown file; test with --once --timeout 60 before leaving it running. (Confirm carrel watch exists in the installed version.)

Pattern: index-then-ask loop

For question-answering over a collection, keep one desk index and reuse it:

carrel --json --root ~/papers index          # incremental, cheap to re-run
carrel --json --root ~/papers search 'transformer AND survey'

Feed the hit paths to Claude (or the file-librarian agent in this plugin) rather than packing the whole corpus — search first, read the top hits, cite paths.

Pattern: desk over MCP

This plugin ships a carrel MCP server (carrel mcp, stdio) exposing search, pack, and inspect as tools. When it's connected, prefer the MCP tools over shelling out for those three operations — same results, structured output. The server searches the desk under the session's working directory; run carrel index there first.

Pattern: pack for a second opinion

Bundle context for another model/session: carrel pack DIR --format xml --chunk 40000 -o ctx.xml then feed ctx.xml.part1..N sequentially. See the context-packing skill (carrel-inspect plugin) for budgeting guidance.

Hygiene for all loops

  • Idempotence: carrel index is incremental and --if-indexed makes hook-style reindexing a no-op until a desk exists — loops can run unconditionally.
  • Never delete in a loop: carrel dedupe stays report-only unless both --delete and --apply are passed; keep automation on the report side.
  • Budget: bound every unattended loop with --timeout, log with --json-lines, and route long outputs to files, not the terminal.

Read the full file on GitHub · 45 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. 4d ago First seen · 45 lines · 58 tokens per session scan A e824a5ff5f26

Subscribe to this mod's changes

agent-workflows is a skill published in the GitHub repository coltonbearden/carrel (1 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 635 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-31.

Related

Other skills, from other repositories

dummy-dataset

Generate realistic dummy datasets for testing with customizable columns, constraints, and output formats (CSV, JSON, SQL, Python script). Use when creating test data, building mock datasets, or generating sample data for development and demos.

phuryn/pm-skills · 48 tokens

release-notes

Generate user-facing release notes from tickets, PRDs, or changelogs. Creates clear, engaging summaries organized by category (new features, improvements, fixes). Use when writing release notes, creating changelogs, announcing product updates, or summarizing what shipped.

phuryn/pm-skills · 57 tokens

retro

Facilitate a structured sprint retrospective — what went well, what didn't, and prioritized action items with owners and deadlines. Use when running a retrospective, reflecting on a sprint, creating action items from team feedback, or learning how to run effective retros.

phuryn/pm-skills · 52 tokens

shipping-artifacts

The durable documentation set that makes an AI-built (vibe-coded) app reviewable before shipping. A small core every app needs — architecture, user/permission flows, permissions, variables/secrets, and a test-coverage map — plus conditional docs added only when they apply: emails, scheduled work, SEO, and embedded…

phuryn/pm-skills · 120 tokens

stakeholder-map

Build a stakeholder map using a power/interest grid, identify communication strategies per quadrant, and generate a communication plan. Use when managing stakeholders, preparing for a launch, aligning cross-functional teams, or planning stakeholder engagement.

phuryn/pm-skills · 47 tokens

competitive-battlecard

Create sales-ready competitive battlecards comparing your product against a specific competitor — positioning, feature comparison, objection handling, and win/loss patterns. Use when preparing sales teams, creating competitive materials, or responding to 'why not competitor X?'.

phuryn/pm-skills · 52 tokens