work-agent

work-agent is a skill for Claude Code from treasure-data/td-skills. It costs 102 tokens per session (2,774 once invoked), scanned A, original, Apache-2.0.

A guide to creating and running agents in Treasure Work. It covers writing AGENTS.md instructions, using agent tools, scheduling or running agents on demand, and managing their draft, active, and paused states.

In plain words
What is it for?
Use it to create, configure, schedule, activate, pause, and inspect agents in Treasure Work.
Why use it?
It helps teams set up automated tasks and understand how those agents are managed over time.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the NotebookEdit tool; mentions AGENTS.md.

Part of the treasure-work-skills plugin — 3 skills shipped together

Good fit Use it to create, configure, schedule, activate, pause, and inspect agents in Treasure Work.

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

Made for: Claude Code.

Or install treasure-work-skills, the plugin that ships this one along with the rest of its 3 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/treasure-data/td-skills/work-agent/github.svg)](https://agentmods.dev/skills/treasure-data/td-skills/work-agent)
Your own site
<a href="https://agentmods.dev/skills/treasure-data/td-skills/work-agent"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/work-agent/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 work-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/treasure-data/td-skills/work-agent"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/work-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,774 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.00102 $0.02774
Opus 5.5 $0.00041 $0.01110
Sonnet 5.5 $0.00020 $0.00555
Haiku 4.5 $0.00010 $0.00277

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

Security

Grade A, and why

work-agent 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 2mo 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.

treasure-work-skills/work-agent/SKILL.md · 153 lines

How it starts

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

Agent Creator

Create global agents in Treasure Work — either on-demand (invoked from the UI, chat, or @mention) or scheduled (cron-driven). Both share one AGENTS.md format and lifecycle. Setting a schedule: field is the single switch that turns an agent into a scheduled one.

Agent Location

Each agent is its own directory with a single AGENTS.md:

  • Global (the only scope this skill creates): ~/.treasure-work/agents/{name}/AGENTS.md
  • Workspace (read-only via MCP; edit through the AgentSettings UI): {workspace}/agents/{name}/AGENTS.md

The directory is the agent's working directory at run time, so the body can reference relative paths and the agent can create supporting files as needed. No subdirectories are required.

Workflow

CRITICAL: Never just create and stop. Always run the agent and iterate until it works.

  1. Capture intent — what the agent should do, how often (if scheduled), what tools / skills it needs, where results should go.
    • Ask the user for notification channels (notify.on_success / notify.on_failure) before writing. Never assume a Slack channel — always confirm.
  2. Create — call agent_create with name, body (the system prompt), and the initial frontmatter (description, icon, skills, schedule if recurring, etc.). New agents default to status: draft so scheduled ones don't fire until activated.
  3. Test run — call agent_run_now to trigger an immediate run. It returns a chatId.
  4. Inspect output — call chat_read with that chatId. While in_progress: true the run is still streaming — poll until it goes false. Read the last assistant turn to confirm the agent did what was intended.
  5. Review — load the agent-review skill for a structure + quality audit.
  6. Iterate — call agent_update to patch any field (body, skills, allowed_tools, schedule, …). Re-run with agent_run_now.
  7. Activate — once the test run is clean, agent_update with status: active. Scheduled agents start firing on their cron; on-demand agents become first-class in the UI list.

Read the full file on GitHub · 153 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. 2mo ago Changed d2ca1d9dd188
  2. 3mo ago First seen · 153 lines · 102 tokens per session scan A f1360bffd378

Subscribe to this mod's changes

work-agent is a skill published in the GitHub repository treasure-data/td-skills (23 stars, last pushed today), licensed Apache-2.0. It adds 102 tokens to every session and 2,774 once invoked, about $0.0004 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-03.

Related

work-agent compared with skills from other repositories

work-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
work-agenttreasure-data/td-skillsSkill23todayApache-2.0A102Claude Code
orbit-notionnexu-io/open-designSkill111kyesterdayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill119ktodayMITA30Claude Code, Codex
rowboat-spacesrowboatlabs/rowboatSkill18kyesterdayApache-2.0A60Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k16d agoMITA184Claude Code
feishuHmbown/CodeWhaleSkill41k5d agoMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k9d agoMITA52Claude Code, Codex