Chalk Labs
Need help deploying create?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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/hamzafer-create
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.
About
Use cases: devops, agent-building
Reviews
Write a reviewNo 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/create
What's inside
- Skill name
create- Description
- Create a new Claude Code routine from a local .md file. Invoke when the user says "create <file>" or when called as a sub-skill of deploy. The file's frontmatter must NOT contain a trigger_id.
- License
- MIT
- Instructions
- 92 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# claude-routines:create
Create a new routine from a local `.md` file. Strict create: the file must NOT have a `trigger_id` in its frontmatter. (If it does, route to `update` instead.)
## Frontmatter spec
```yaml
---
name: "Display name" # required
cron: "0 8 * * *" # UTC; OR run_once_at: "2027-01-01T00:00:00Z" (exactly one)
enabled: true # default true
env_id: env_01... # required; cloud environment ID
model: claude-sonnet-4-6 # optional; one of claude-opus-4-7, claude-opus-4-7[1m], claude-sonnet-4-6, claude-haiku-4-5
allowed_tools: [Bash, Read, Write, Edit, Glob, Grep, WebFetch, WebSearch]
sources: # optional; repos cloned at session start
- url: https://github.com/owner/repo
allow_unrestricted_git_push: false
mcp_connections: # optional
- connector_uuid: <v4 uuid>
name: <name>
url: <url>
permitted_tools: []
---
(prompt body sent verbatim as the routine's user message)
```
## Procedure
1. Parse YAML frontmatter and body from the file.
2. If `trigger_id` is present, abort and tell the user to use `update` (or `deploy`, which routes automatically).
3. Run snippet expansion on the body (see below) if any `{{include <path>}}` directives appear.
4. Build the API body:
```jsonc
{
"name": "<frontmatter.name>",
"cron_expression": "<frontmatter.cron>", // OR "run_once_at": ...
"enabled": <frontmatter.enabled ?? true>,
"job_config": {
"ccr": {
"environment_id": "<frontmatter.env_id>",
"events": [{
"data": {
"uuid": "<generated lowercase v4 uuid>",
"session_id": "",
"type": "user",
"parent_tool_use_id": null,
"message": { "content": "<expanded prompt body>", "role": "user" }
}
}],
"session_context": {
"allowed_tools": <frontmatter.allowed_tools>,
"model": "<frontmatter.model>", // omit if not in frontmatter
"sources": <frontmatter.sources> // omit if not in frontmatter
}
}
},
"mcp_connections": <frontmatter.mcp_connections> // omit if not in frontmatter
}
```
5. Call `RemoteTrigger` with `action: "create"` and the body.
6. On success, write the returned `trigger_id` into the file's frontmatter (add a `trigger_id:` line at the top of the frontmatter block).
7. Tell the user: routine name + URL `https://claude.ai/code/routines/<trigger_id>` + next run time.
## Snippet expansion (optional)
A line containing only `{{include <path>}}` expands to the contents of that file before the body is sent.
- Path resolution: relative to the routine `.md` file's directory; or relative to the workspace root if that fails.
- No nesting: included files must NOT contain their own `{{include}}` directives.
- If a path doesn't resolve, abort and tell the user which include is broken.
- The cloud sees the fully-expanded body. Includes are a write-side feature only.
## Model field placement on CREATE
The `model` field goes inside `job_config.ccr.session_context.model` for CREATE bodies. This is different from UPDATE (where it sits at the top level of the partial-update body). See the `update` skill for the update-side quirk.
## Common errors (surface verbatim)
- `cron interval too short`: Cron must run no more than once per hour. Suggest a less frequent schedule.
- `conflicting fields` (cron + run_once_at): Set exactly one.
- `environment_id` not found: The env doesn't exist or doesn't belong to this account.
## See also
- `deploy <file>` to route automatically (create or update based on trigger_id presence)
- `validate <file>` to lint before creating
- `dry-run deploy <file>` to preview the bodyFrom hamzafer/claude-routines, MIT.
More from hamzafer/claude-routines
- 0.540score
run
hamzafer
Fire a Claude Code routine immediately, bypassing its schedule.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
pull
hamzafer
Fetch all Claude Code routines from the cloud and write each one to a local .md file.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
update
hamzafer
Update an existing Claude Code routine via the read-modify-write protocol.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
validate
hamzafer
Validate a routine .md file's structure without calling the API.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
bulk
hamzafer
Apply an operation across many routine .md files at once.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
orphans
hamzafer
Find local routine .md files whose trigger_id no longer exists in the cloud (probably deleted via the web UI).
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
deploy
hamzafer
Deploy a Claude Code routine from a local .md file.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
diff
hamzafer
Compare a local routine .md file against its cloud state field by field.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
dry-run
hamzafer
Preview the exact API body that "deploy <file>" would send, without calling the API.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
get
hamzafer
Fetch a single Claude Code routine by its trigger_id and write it to a local .md file.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
list
hamzafer
List all Claude Code routines for the current user.
SkillCFreshness: C★ 10Claude Code +9 - 0.535score
delete
hamzafer
Handle deletion requests for Claude Code routines.
SkillCFreshness: C★ 10Claude Code +9
Signals
- Stars
- 10
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 14, 2026 (5 months ago)
- Last release
- Apr 27, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/hamzafer/claude-routines
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from hamzafer
- 0.540score
run
hamzafer
Fire a Claude Code routine immediately, bypassing its schedule.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
pull
hamzafer
Fetch all Claude Code routines from the cloud and write each one to a local .md file.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
update
hamzafer
Update an existing Claude Code routine via the read-modify-write protocol.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
validate
hamzafer
Validate a routine .md file's structure without calling the API.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
bulk
hamzafer
Apply an operation across many routine .md files at once.
SkillCFreshness: C★ 10Claude Code +9 - 0.540score
orphans
hamzafer
Find local routine .md files whose trigger_id no longer exists in the cloud (probably deleted via the web UI).
SkillCFreshness: C★ 10Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get create running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
create skill. Agent Mart. https://agentmart.dev/skills/hamzafer-create (last updated 2026-10-24)