config

config is a command for coding agents from moazbuilds/claudeclaw. It costs 5 tokens per session (3,248 once invoked), scanned B, original, MIT.

A command for viewing or changing the settings of a heartbeat daemon, a background process that periodically checks in. It can display model, schedule, notification, security, and web-interface settings.

In plain words
What is it for?
Use it to show current heartbeat settings or change options such as the interval, prompt, timezone, model, Telegram forwarding, and allowed tools.
Why use it?
It avoids manually opening configuration files and makes heartbeat behavior easier to inspect or adjust.

Command

Part of the claudeclaw plugin — 3 skills, 10 commands shipped together

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.

agentmods
npx agentmods add commands/moazbuilds/claudeclaw/config
Clone the repo
git clone --depth 1 https://github.com/moazbuilds/claudeclaw

Or install claudeclaw, the plugin that ships this one along with the rest of its 3 skills, 10 commands.

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 config

README.md
[![agentmods](https://agentmods.dev/badge/commands/moazbuilds/claudeclaw/config.svg)](https://agentmods.dev/commands/moazbuilds/claudeclaw/config)
Your own site
<a href="https://agentmods.dev/commands/moazbuilds/claudeclaw/config"><img src="https://agentmods.dev/badge/commands/moazbuilds/claudeclaw/config.svg" alt="Measured on agentmods" height="20"></a>
Per session 5 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,248 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00005 $0.03248
Opus 5 $0.00003 $0.01624
Sonnet 5 $0.00001 $0.00650
Haiku 4.5 $0.00001 $0.00325

Measured 4d ago against content hash ab7a50ce7563, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

config scanned grade B with 1 finding 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 4d 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.

Asks the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

- Prompt: (show full prompt or "not set")
commands/config.md · 312 lines

How it starts

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

View or modify the heartbeat daemon settings. Use $ARGUMENTS to determine the action.

Parse $ARGUMENTS to identify what the user wants. If no arguments are given, show the current config.

Sub-commands

show (default when no arguments)

  1. Read .claude/claudeclaw/settings.json.

  2. Display all settings clearly:

    General

    • Model: (e.g. opus, sonnet, haiku, glm or "default")
    • API token: (first 5 chars + "..." or "not configured"; used when model is glm)
    • Fallback model: (e.g. glm, sonnet, or "not configured")
    • Fallback API token: (first 5 chars + "..." or "not configured")
    • Timezone: (e.g. America/New_York or "UTC")

    Heartbeat

    • Enabled: yes/no
    • Interval: Xm
    • Prompt: (show full prompt or "not set")
    • Exclude windows: (list each window's days + start-end, or "none")
    • Forward to Telegram: yes/no (HEARTBEAT_OK is forwarded only when enabled)

    Telegram

    • Token: (first 5 chars + "..." or "not configured")
    • Allowed users: (list IDs or "none")

    Security

    • Level: (locked/strict/moderate/unrestricted)
    • Allowed tools: (list or "default")
    • Disallowed tools: (list or "none")

    Web UI

    • Enabled: yes/no
    • Address: host:port
  3. Also list any cron jobs from the configured jobs directory (see jobsDir in settings, default: .claude/claudeclaw/jobs/) with their name, schedule, and notify mode.

  4. Remind the user that changes are hot-reloaded every 30s — no daemon restart needed.

heartbeat on / heartbeat off / heartbeat enable / heartbeat disable

Toggle the heartbeat on or off.

  1. Read .claude/claudeclaw/settings.json.
  2. Set heartbeat.enabled to true or false based on the command.
  3. Write the updated settings back.
  4. Confirm the change.

heartbeat interval <minutes> / interval <minutes>

Change the heartbeat interval.

  1. Parse the number of minutes from $ARGUMENTS. If not provided or invalid, use AskUserQuestion: "How often should the heartbeat run?" (header: "Interval", options: "5 minutes", "15 minutes (Recommended)", "30 minutes", "60 minutes")
  2. Read .claude/claudeclaw/settings.json.
  3. Set heartbeat.interval to the new value.
  4. Write the updated settings back.
  5. Confirm the change. The daemon will pick up the new interval within 30 seconds.

Read the full file on GitHub · 312 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. 4d ago First seen · 312 lines · 5 tokens per session scan B ab7a50ce7563

Subscribe to this mod's changes

config is a command published in the GitHub repository moazbuilds/claudeclaw (1,315 stars, last pushed 1mo ago), licensed MIT. It adds 5 tokens to every session and 3,248 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.