Skip to content
Agentmart
Submit a tool

authoring-routines-from-scratch

Guides users through writing a strong routine: triggers, schedules, instructions, and action steps.

Skill by gethamster

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/gethamster-authoring-routines-from-scratch

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Guides users through writing a strong routine: triggers, schedules, instructions, and action steps.

Use cases: writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/authoring-routines-from-scratch

What's inside

Skill name
authoring-routines-from-scratch
Description
Guides users through writing a strong routine: triggers, schedules, instructions, and action steps.
License
MIT
Instructions
38 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Authoring Routines from Scratch

A routine is an automated or semi-automated workflow that fires on triggers or schedules. Routines keep knowledge current without manual intervention — they are the maintenance layer of Hamster Knowledge.

## What makes a strong routine?

**Triggers** — What events fire the routine, selected from the trigger enum. Good: `brief.approved`, `initiative.state_changed.shipped`. Bad: "When something changes" (too broad — fires on every change).

**Schedules** — Optional cadence for time-based routines. Good: `schedule.fired` with quarterly cadence. Bad: No schedule when the routine should run periodically, or a schedule when a trigger is more appropriate.

**Instructions** — Markdown body describing what the routine does when it fires. Clear enough for the harness to execute without ambiguity. Good: "Review each method against current practice. Update steps that no longer match reality." Bad: "Check if things are up to date."

**Actions** — What the routine does: review, update, notify, or create. A routine that describes a problem but doesn't fix it is incomplete. Good: "Flag the method for human review and post a notification in the knowledge channel." Bad: "Identify outdated methods" with no action taken.

## How to write one

1. **Identify what should happen automatically:** What task currently requires someone to remember to do it? That's a routine candidate.
2. **Choose triggers from the enum:** Available triggers include `brief.approved`, `initiative.state_changed.shipped`, `blueprint.proposal_committed`, `schedule.fired`. Pick the most specific trigger that fires at the right moment.
3. **Write instructions as clear markdown:** Describe what the routine does when it fires. Be specific enough that the harness can execute the steps without guessing.
4. **If scheduled, set the cadence:** Daily, weekly, monthly, or quarterly. Choose the longest interval that still catches problems before they matter.
5. **Test the routine on a real trigger:** Fire the trigger manually and observe the output. Does the routine do what you intended?

## Common mistakes

- Triggers too broad. Firing on every `brief.approved` when only briefs that change a specific workflow matter. Use the most specific trigger available.
- Instructions too vague for the harness to execute. "Review and update as needed" is not executable. "Review each method's steps against the approved brief's workflow. Update any step that no longer matches."
- No schedule when one is needed. A quarterly audit routine needs `schedule.fired` with quarterly cadence — it won't fire on its own.
- Routine that duplicates a manual process nobody follows. If the manual process is dead, the routine should replace it, not automate a corpse.
- Missing the actual action. Describes a problem ("methods may be stale") but doesn't fix it ("update steps that no longer match reality and flag for human review if uncertain").

## Prompts to get unstuck

- "What should happen without someone doing it manually?"
- "What event triggers this?"
- "What exactly should the routine do when it fires?"
- "How often should this run if not trigger-based?"

From gethamster/skills, MIT.

More from gethamster/skills

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Sep 17, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from gethamster

Cite this page

authoring-routines-from-scratch skill. Agent Mart. https://agentmart.dev/skills/gethamster-authoring-routines-from-scratch (last updated 2026-10-24)