mcpbeat Sign in

Routines Agent Skill

Use when the user wants a recurring task done automatically on a schedule (daily/weekly/cron) that DOES WORK unattended — pull data and summarize, open a PR, post a digest — rather than just a time-based reminder ping, OR when the user wants to test/dry-run/"run now" a routine before scheduling it. Explains how to author a routine, test it once on demand, and schedule it to run in an isolated sandbox with only declared credentials, via the routine tool.

878 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
10025
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/google/adk-samples --skill routines

What it tells the agent to use

found in the instruction text
Bash runs shell commands — read the instruction before connecting

The instruction itself

5 sections, as written by the author

Scheduling routines

A routine is a recurring task that runs unattended on a cron schedule, in

a fresh sandbox isolated from the user's workspace, holding **only the secrets

the routine declares**. Use it for "every morning, summarize X and report" /

"weekly, bump deps and open a PR" — work that should happen without the user

present. For a plain "remind me at 9pm" message, use reminder instead.

The isolation model (why this is safe)

  • The routine runs in its OWN sandbox (lhart-<id>), never the user's — so it

cannot see their workspace, other projects, or undeclared secrets.

  • It receives ONLY the secret env vars listed in secrets: — that list IS the

blast-radius boundary. Declare the minimum the task needs (check the "Available

secret env vars" line for the names).

  • It is headless (nobody to approve mid-run): shell commands run normally in

the isolated sandbox — git clone, pip install, build, commit/push all

work, since the sandbox is the blast radius. Secret-exfiltration and

known-destructive commands are still refused, and any *non-shell* action that

would need approval is auto-denied — design the task to avoid those, or do an

irreversible external step as a draft for the user to confirm later.

  • Outputs come back as artifacts in the routine's session — it cannot write into

the user's workspace.

How to author one

Call routine(action="create", name=..., schedule=..., task=..., secrets=[...]):

  • schedule: a 5-field cron expression ("0 8 * * *" = daily 08:00 UTC).
  • task: a self-contained instruction — the routine has no memory of this chat

and no access to the user's files, so state everything it needs.

  • secrets: the exact secret env names the task requires (e.g.

["GITHUB_PAT"]), or omit for none.

Test it before scheduling

ALWAYS dry-run a routine before you create it:

routine(action="test", name=..., task=..., secrets=[...])

This runs the task ONCE right now under the routine's real isolation — its own

lhart- sandbox, headless (shell runs; non-shell approvals denied), only the declared secrets

and blocks until it finishes, returning {success, status, output, ...}. Read the

output: if the task didn't work (missing secret, needed an approval, wrong

assumption), fix task/secrets and test again. A test schedules nothing (no

schedule row, no chat session) — but it does provision the routine's real

lhart- sandbox, which the scheduled routine then reuses, so pass the same name

you'll create with. Then create.

Scheduling it

The tool asks the user to confirm before scheduling. On the first call it

returns status: "awaiting_user_response" — stop, let the user decide, and do

NOT claim the routine is scheduled until you get success: true with an id.

Use routine(action="list") to show scheduled routines and

routine(action="cancel", id=...) to remove one (the user can also type

/routines / /routines remove <id>).

Other skills for the same job

different authors, same section of the catalogue
Doc Coauthoring
by anthropics
vendor ×10

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

4k tokens
File Organizer
by frostant
×10

Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.

3k tokens
Domain Name Brainstormer
by frostant
×8

Generates creative domain name ideas for your project and checks availability across multiple TLDs (.com, .io, .dev, .ai, etc.). Saves hours of brainstorming and manual checking.

1k tokens
Brainstorming
by ZhanlinCui
×4

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

626 tokens
Planning With Files
by ZhanlinCui
×3

Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requiring >5 tool calls.

9k tokens scripts
Scientific Brainstorming
by christophacham
×3

Creative research ideation and exploration. Use for open-ended brainstorming sessions, exploring interdisciplinary connections, challenging assumptions, or identifying research gaps. Best for early-stage research planning when you do not have specific observations yet. For formulating testable hypotheses from data use hypothesis-generation.

5k tokens
GitHub Project Management
by ComeOnOliver
×3

Comprehensive GitHub project management with swarm-coordinated issue tracking, project board automation, and sprint planning

14k tokens
Grill Me
by ComeOnOliver
×3

Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".

3k tokens

How to use it

Copy the folder

Take google/routines from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.

Install what it needs

The instructions reference pip. Without those the skill loads but fails at the first command.