agent-workflows

agent-workflows is a skill for Claude Code from coltonbearden/carrel. It costs 66 tokens per session (1,414 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 Code

Written for Claude Code: SessionStart hook event. Also seen: mentions Claude Code.

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

Good fit Use it to watch folders and process new files, index a document collection, search it, and pass selected results to Claude for analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/coltonbearden/carrel/agent-workflows
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 coltonbearden/carrel --skill agent-workflows
Clone the repo
git clone --depth 1 https://github.com/coltonbearden/carrel

Made for: Claude Code.

Or install carrel-agent, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 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/github.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/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 agent-workflows

Your own site · 80×15
<a href="https://agentmods.dev/skills/coltonbearden/carrel/agent-workflows"><img src="https://agentmods.dev/badge/skills/coltonbearden/carrel/agent-workflows.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,414 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.00066 $0.01414
Opus 5.5 $0.00026 $0.00566
Sonnet 5.5 $0.00013 $0.00283
Haiku 4.5 $0.00007 $0.00141

Measured 1mo ago against content hash 97f1d6753adb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 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 (or install the carrel-guard plugin, whose SessionStart hook reports it), 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; bound each action with --action-timeout.

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'
carrel --root ~/papers pack ~/papers --query 'transformer AND survey' --top 10 -o ctx.md

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. pack --query is the one-step version. Narrow a search with the desk's own facts: --tag ref:invoice:inv-2026-0042 (written by carrel refs --tag) or --meta 'total>1000' (fields from carrel meta set). carrel catalog status tells you when the index is stale; carrel catalog export backs up tags and notes.

Pattern: desk over MCP

This plugin ships a carrel MCP server (carrel mcp, stdio, pure stdlib) via .mcp.json. When it is connected, prefer its structured tools over shelling out for the same operations. The server works on the desk under the session's working directory (the root argument narrows it to a subdirectory); run carrel index there first for search-backed tools.

Read the full file on GitHub · 74 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. 1mo ago Changed · +2 lines 97f1d6753adb
  2. 1mo ago Changed · +4 lines 4e49af553f82
  3. 1mo ago Changed · +23 lines · +8 tokens per session 5115fd078b20
  4. 1mo 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 (2 stars, last pushed 4d ago), licensed MIT. It adds 66 tokens to every session and 1,414 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

ade

Parse documents and extract schema-shaped data with the ADE (Agentic Document Extraction) v2 APIs through the ade CLI. A local job-item store makes every run idempotent, resumable, and citable — repeat runs are free, interrupted runs resume, and every answer can cite element ids with visual evidence.

landing-ai/ade-cli · 65 tokens

document-processing

Use when the deliverable is a document's bytes or its literal content — text/tables out of PDFs, AcroForm fill and flatten, page merge/split, PDF/DOCX from templates, OCR of image-only scans. NOT schema-typed fields pulled from text (that is structured-extraction), NOT signature routing (e-signature) or spreadsheet…

ericrisco/rsc-harness · 84 tokens

mineru

Use when turning PDFs, scans, or Office documents into structured Markdown/JSON for RAG or translation pipelines with MinerU 4.0 — mineru parse / mineru-kit parse, quality tiers flash/basic/standard/advanced, DoclibClient Python SDK, V1 HTTP API, or Docker on NVIDIA GPUs; also when magic-pdf commands fail because 4.0…

znlgis/opengis-skills · 115 tokens

kuake_skill

Enables OpenClaw agents to interact with Quark Cloud Drive using the kuake CLI tool for file operations like listing, uploading, downloading, and sharing.

zhangjingwei/kuake_cli · 36 tokens

c-screen

Capture screenshots and extract text via OCR using peekaboo, and capture webcam images using camsnap. Enables visual analysis of screen content and camera input.

daxaur/openpaw · 35 tokens

update-marketplace-stars

Update GitHub star counts for suggested marketplaces in DEFAULTSUGGESTEDMARKETPLACES. Use this skill when asked to "update stars", "refresh marketplace stars", or "sync star counts".

NikiforovAll/lazyclaude · 45 tokens