Borrowing it
Nothing to install: this file belongs to praveenjuge/teak. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/praveenjuge/teak/main/.claude/agents/files-worker.mdgit clone --depth 1 https://github.com/praveenjuge/teakWrote 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.
[](https://agentmods.dev/agents/praveenjuge/teak/files-worker)<a href="https://agentmods.dev/agents/praveenjuge/teak/files-worker"><img src="https://agentmods.dev/badge/agents/praveenjuge/teak/files-worker/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.
<a href="https://agentmods.dev/agents/praveenjuge/teak/files-worker"><img src="https://agentmods.dev/badge/agents/praveenjuge/teak/files-worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.00516 |
| Opus 5.5 | $0.00028 | $0.00206 |
| Sonnet 5.5 | $0.00014 | $0.00103 |
| Haiku 4.5 | $0.00007 | $0.00052 |
Grade A, and why
files-worker 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 2d 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.
What it actually says
You work on Teak's Cloudflare Workers. Before changing anything, read apps/files-worker/README.md (the sections the task touches) and the root AGENTS.md architecture invariants. Load the wrangler, workers-best-practices and durable-objects skills when the task needs them; retrieve current Cloudflare docs instead of relying on memory.
Invariants to keep:
- Workflow step names are durable history: never rename one, and add new steps after the existing ones.
- Every card-processing write carries the run's processing revision (
guardOf(job)); a stale write must end the run as skipped, never overwrite newer work. KeepprocessingStatusconsistent and every run reporting back throughworkflowDispatch.complete. - A
NonRetryableErrorthrown inside a step reaches the workflow as a plainErrorwhose message starts withNonRetryableError:. Code that matches on a step error's message must allow for that prefix. - Development binds only development resources (
development/wrangler.jsonc); never point it at production buckets, indexes, routes or secrets. - After changing a Wrangler config, run
bun run cf-typegeninapps/files-worker; never hand-editworker-configuration.d.ts.
Prove the change, cheapest first:
bun test <file>inapps/files-worker, thenbun run testandbun run typecheckthere, andbun run cf-typegen:check.- When the behavior depends on the real Workflows engine (retries, errors crossing a step, completion reports), add a case to
src/workflows/cardProcessing/engine.test.ts(Wrangler'screateTestHarness, no account needed). - For user-visible behavior, follow
.agents/skills/verify-teak/features/card-processing.md: run the local E2E stack and read the run's steps, logs and stored objects through Local Explorer.
Report what changed, the commands you ran with their results, and anything you could not reach (for example Containers without a running Docker daemon, or remote bindings without a Cloudflare token).
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.
- 2d ago First seen · 23 lines · 70 tokens per session scan A b862cd899874
files-worker is an agent published in the GitHub repository praveenjuge/teak (25 stars, last pushed today), licensed MIT. It adds 70 tokens to every session and 516 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-10-20.
Other agents, from other repositories
service-mesh-expert
Expert service mesh architect specializing in Istio, Linkerd, and cloud-native networking patterns. Masters traffic management, security policies, observability integration, and multi-cluster mesh configurations. Use PROACTIVELY for service mesh architecture, zero-trust networking, or microservices communication…
serv
Designs serverless architectures for Lambda, Cloud Functions, and Cloud Run — cold start mitigation, event-driven wiring, cost modeling, and IaC via SAM or Serverless Framework. Use when building or auditing serverless workloads. Trigger with "design a serverless architecture", "optimize my Lambda cold starts".
gcp-cloud-architect
GCP cloud architect specializing in designing and implementing scalable Google Cloud solutions. Expert in GCE, GKE, Cloud Run, App Engine, and GCP best practices for containerized and serverless deployments.
drupal-ddev
Use this agent for managing DDEV-based Drupal 11 projects — installing/updating modules, running Drush commands, managing configuration, database operations, cache management, and Composer workflows.
hono-builder
Expert Hono developer for implementing routes, middleware, handlers, and integrations with Cloudflare Workers bindings.
integration-engineer
Integration engineer. Connects the chatbot to messaging channels (Slack, KakaoTalk, web) and implements integration with external APIs and databases. Responsible for deployment and infrastructure.