gardener-tasks

gardener-tasks is a skill for Claude Code, Codex from cloudflare/agents. It costs 47 tokens per session (4,526 once invoked), scanned A, a copy of gardener-tasks, MIT.

A guide to defining Gardener maintenance tasks as Markdown files that run through GitHub Actions. Each task declares what it may read and change before a separate job applies its proposed changes.

In plain words
What is it for?
Use it to create, edit, and check files under `.gardener/tasks/`, then generate the related GitHub Actions workflows.
Why use it?
It prevents an automated task from changing files outside its approved scope. It also explains which files to edit and which generated files to leave alone.

Skill for Claude CodeCodex ✓ vendor

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

Good fit Use it to create, edit, and check files under .gardener/tasks/, then generate the related GitHub Actions workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cloudflare/agents/gardener
About the project

Cloudflare Agents is a framework for building persistent, stateful AI agents on Cloudflare Durable Objects, where each agent has its own state, storage, and lifecycle. Developers use it to create agents with real-time communication, scheduling, model calls, MCP, workflows, and other server-side capabilities. The catalogue entries provide agent, skill, MCP, and instruction components for this framework.

cloudflare/agents · 6,185 stars · on GitHub · developers.cloudflare.com

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 cloudflare/agents --skill gardener
Clone the repo
git clone --depth 1 https://github.com/cloudflare/agents

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 gardener-tasks

README.md
[![agentmods](https://agentmods.dev/badge/skills/cloudflare/agents/gardener/github.svg)](https://agentmods.dev/skills/cloudflare/agents/gardener)
Your own site
<a href="https://agentmods.dev/skills/cloudflare/agents/gardener"><img src="https://agentmods.dev/badge/skills/cloudflare/agents/gardener/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 gardener-tasks

Your own site · 80×15
<a href="https://agentmods.dev/skills/cloudflare/agents/gardener"><img src="https://agentmods.dev/badge/skills/cloudflare/agents/gardener.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,526 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 86% copy Near-identical to another mod 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.00047 $0.04526
Opus 5.5 $0.00019 $0.01810
Sonnet 5.5 $0.00009 $0.00905
Haiku 4.5 $0.00005 $0.00453

Measured 5d ago against content hash 894a2b31ecef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gardener-tasks 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 5d 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.

Origin

This is a copy

86% identical to gardener-tasks — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.gardener/SKILL.md · 300 lines

How it starts

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

Gardener tasks

Gardener runs AI maintenance tasks on this repository from GitHub Actions. Each task is one Markdown file: YAML frontmatter says when it runs, what the model may read, and exactly which changes it may make; the body is the model's instructions. A planning job runs the model with only the declared tools and lets it plan only the declared effects. A separate job then applies that plan. Nothing outside the declaration is possible, whatever the instructions say.

Files

.gardener/
  gardener.json            project settings (release pin, optional "handle"); edit only "handle"
  gardener.lock.json       generated; never edit
  SKILL.md                 this file; generated
  tasks/<dir>/TASK.md      one task per directory; the only files you write
.github/workflows/
  gardener-<id>.yml        generated, one per task; never edit
  gardener-sync.yml        generated (or the "syncWorkflow" name in gardener.json); never edit

Workflow

  1. Create .gardener/tasks/<dir>/TASK.md. Start from the template below or an existing task.
  2. Run npx @scuffi/[email protected] generate from the repository root (or the repository's own package.json script, if it has one). Use this exact version: a different one produces files the pull request's Check tasks check rejects.
  3. Fix every error generate prints and read its warnings. Repeat until it succeeds.
  4. Commit the TASK.md, .gardener/gardener.lock.json and the .github/workflows/gardener-*.yml changes together. When they reach the default branch, the sync workflow enables the task.

To change a task, edit its TASK.md and run generate again. To remove one, delete its directory and run generate. Never hand-edit generated files.

Template

---
schema: gardener.task/v1
id: bug-intake
name: Bug intake
description: Asks issue authors for missing reproduction details.
trigger:
  event: github.issue.opened
  labels-all: [bug]
tools:
  - repository.list_files
  - repository.read_file
effects:
  - issue.comment.create
network:
  default: deny
  allow: []
  deny: []
limits:
  runtime-seconds: 300
  max-turns: 12
  max-tool-calls: 16
  input-tokens: 60000
  output-tokens: 16000
---
Read the issue and the code it mentions. If it is missing reproduction steps, expected behaviour or
a version, comment once (`issue.comment.create`) asking for exactly what is missing. Otherwise
change nothing. Then finish.

Read the full file on GitHub · 300 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. 5d ago Changed 894a2b31ecef
  2. 26d ago Changed fd2e7af57eb1
  3. 1mo ago Changed · +8 lines 89932bbb8e8a
  4. 1mo ago Changed · +2 lines c862a0388093
  5. 1mo ago Changed 459062cf14b3
  6. 1mo ago Changed · +24 lines 29adbabef3df
  7. 1mo ago First seen · 266 lines · 47 tokens per session scan A 6475dc1e77bd

Subscribe to this mod's changes

gardener-tasks is a skill published in the GitHub repository cloudflare/agents (6,185 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 4,526 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to gardener-tasks, differing in 0 lines, and is treated as a copy.

Related

gardener-tasks compared with skills from other repositories

gardener-tasks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gardener-taskscloudflare/agentsSkill6.2ktodayMITA47Claude Code, Codex
cloudflare-agents-sdkseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA59Claude Code, Codex
teleportation-circleHmbown/Wizards-of-the-GhostsSkill1157mo agoCC0-1.0A46Claude Code, Codex
ci-maintenancepingdotgg/t3codeSkill84ktodayMITA36Claude Code, Codex
google-agents-cli-scaffoldgoogle/agents-cliSkill6.5k5d agoApache-2.0A147Claude Code
cf-clicloudflare/skillsSkill3.5k4d agoApache-2.0A78Claude Code
workers-best-practicescloudflare/skillsSkill3.5k4d agoApache-2.0A25Claude Code