Schedule
TinyAGI/tinyagi
Create, list, and delete scheduled tasks (recurring or one-time) that send messages to agents.
Before fixing a slow/stale/timeout alert, measure the step yourself.
$ npx skills add garrytan/gbrain --skill measure-before-you-fix -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install garrytan/gbrain measure-before-you-fix --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/garrytan/gbrain.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/measure-before-you-fix .claude/skills/measure-before-you-fix && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "measure-before-you-fix" agent skill from https://github.com/garrytan/gbrain/tree/master/skills/measure-before-you-fix into .claude/skills/measure-before-you-fix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "measure-before-you-fix", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/garrytan/gbrain/tree/master/skills/measure-before-you-fixType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add garrytan/gbrain --skill measure-before-you-fix -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install garrytan/gbrain measure-before-you-fix --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garrytan/gbrain.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/measure-before-you-fix .agents/skills/measure-before-you-fix && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "measure-before-you-fix" agent skill from https://github.com/garrytan/gbrain/tree/master/skills/measure-before-you-fix into .agents/skills/measure-before-you-fix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "measure-before-you-fix", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add garrytan/gbrain --skill measure-before-you-fix -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install garrytan/gbrain measure-before-you-fix --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garrytan/gbrain.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/measure-before-you-fix .cursor/skills/measure-before-you-fix && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "measure-before-you-fix" agent skill from https://github.com/garrytan/gbrain/tree/master/skills/measure-before-you-fix into .cursor/skills/measure-before-you-fix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "measure-before-you-fix", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/garrytan/gbrain.git --path skills/measure-before-you-fix--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add garrytan/gbrain --skill measure-before-you-fix -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install garrytan/gbrain measure-before-you-fix --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garrytan/gbrain.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/measure-before-you-fix .gemini/skills/measure-before-you-fix && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "measure-before-you-fix" agent skill from https://github.com/garrytan/gbrain/tree/master/skills/measure-before-you-fix into .gemini/skills/measure-before-you-fix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "measure-before-you-fix", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install garrytan/gbrain measure-before-you-fixInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add garrytan/gbrain --skill measure-before-you-fix -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/garrytan/gbrain.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/measure-before-you-fix .github/skills/measure-before-you-fix && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "measure-before-you-fix" agent skill from https://github.com/garrytan/gbrain/tree/master/skills/measure-before-you-fix into .github/skills/measure-before-you-fix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "measure-before-you-fix", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add garrytan/gbrain --skill measure-before-you-fix -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install garrytan/gbrain measure-before-you-fix --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garrytan/gbrain.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/measure-before-you-fix .opencode/skills/measure-before-you-fix && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "measure-before-you-fix" agent skill from https://github.com/garrytan/gbrain/tree/master/skills/measure-before-you-fix into .opencode/skills/measure-before-you-fix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "measure-before-you-fix", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
measure-before-you-fixBefore fixing a slow/stale/timeout alert, measure the step yourself.
Measure Before You Fix is an agent skill from garrytan/gbrain. Before fixing a slow/stale/timeout alert, measure the step yourself. Kill the theory with a stopwatch, not a code change. Measure-first ops triage for temporal alerts (stale, timeout, freshness, wedged, N hours behind) from gbrain doctor, autopilot, sync, and cron monitors — runs BEFORE any timeout raise, threshold change, or pipeline rewrite.
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file.
It sits in Productivity & Automation, covering Scheduled and recurring tasks. The repository describes itself as: Garry's Opinionated OpenClaw/Hermes Agent Brain. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit f250a51. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and javascript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Measure Before You Fix loads about 2.5k tokens when it runs. Until then it costs about 92 tokens; SKILL.md has 1,198 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from garrytan/gbrain at commit f250a51, republished under its MIT licence (© garrytan). 1,198 words, ~2,512 tokens.
.claude/skills/measure-before-you-fix/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Convention: see conventions/brain-first.md — before re-deriving a diagnosis,
searchthe brain for prior incidents of the same alert. A recurring alert usually has a recorded verdict already.
Route here on any alert whose claim is temporal — "X is stale", "step timed out", "pipeline wedged", "job is slow", "N hours behind". These alerts invite an immediate structural fix (raise the timeout, split the step, reorder the pipeline). Do the measurement first. It is almost always cheaper than the fix, and it frequently invalidates it. (Routing is a harness convention, not a mechanical guarantee — the contract below is the discipline that makes it stick.)
On gbrain surfaces this covers: gbrain doctor staleness checks (e.g. sync
freshness, cycle freshness), autopilot cycle alerts, the sync stall watchdog
(reason: 'stall_timeout'), and any cron monitor built on top of them.
One stopwatch measurement of the suspect step, before any code change.
If you cannot state the measured duration of the thing you claim is slow, you do not yet know the root cause, and any fix you write is a guess wearing a diff.
This skill guarantees:
--all hides which member is slow).gbrain doctor's warn/fail lines) before the system is declared unhealthy.Read the alert's own numbers. They often contradict the theory already.
(Locks: none means it isn't lock contention. Note it and drop that branch.)
Time the suspect step directly. Isolate the smallest unit that the alert blames, and run it with a clock:
time gbrain sync --source source-a --no-embedRun it on the specific named entity, not the aggregate. A whole-brain run
hides which member is slow; --source source-a answers the question.
Cross-check state with gbrain sources status (per-source sync lag).
Compare measured vs. budgeted. Grep every timeout in the wrapper, not just the default in the helper signature:
grep -n "timeoutMs\|timeout:" <the wrapper or cron script>A generous per-call override makes the helper's default irrelevant. Check the call site before blaming the default.
Check the alert threshold against the authoritative one. Before
concluding the system is broken, confirm the alerter and the audit agree on
what "bad" means. gbrain doctor's sync-freshness check defaults to
24h warn / 72h fail (env-overridable via GBRAIN_SYNC_FRESHNESS_WARN_HOURS
/ GBRAIN_SYNC_FRESHNESS_FAIL_HOURS); a cron monitor paging at 12h is
speaking below the authoritative warn line. A monitor that acts early is
correct; a monitor that speaks at its act-line is a false-positive
generator.
Only now design the fix — against the number you measured.
A cron monitor legitimately acts earlier than the doctor fails, to keep drift out of FAIL territory. That is good design. The bug is reusing the act-threshold as the alert-threshold: everything between "act" and "warn" becomes a recurring page about a healthy system.
Separate the two constants. Act at the aggressive line, speak at the authoritative one:
const ACT_HOURS = Number(env.MONITOR_ACT_HOURS || 12); // act early — fine
const ALERT_HOURS = Math.max(ACT_HOURS, DOCTOR_WARN_HOURS); // speak at the audit's lineSymptom to recognize instantly: a repeating alert whose numbers sit below the doctor's own warn line, while the underlying resource looks fine when queried directly.
ps for the worker; check the launch flag;
gbrain jobs list for queued work).Follow the agent operator protocol for any gbrain error code, exit code, [AGENT] block or notice block. Specific to this skill:
gbrain doctor warns or fails: record the exact check and threshold before declaring the system unhealthy; the doctor's 24h/72h sync-freshness thresholds may differ from a cron monitor's.gbrain sources status shows held items or lock_busy: that is the measured cause; fix it and re-measure instead of raising timeouts.source-a, source-b) reported hours-stale.
Three successive root causes were asserted and a wrapper rewrite approved —
before any measurement. The measurement:
time gbrain sync --source source-a --no-embed finished in single-digit
seconds with "Already up to date" (same for source-b), and
gbrain sources status showed every source synced that morning. Every
theory died at once. Actual cause: the monitor alerted at its
act-threshold, hours below gbrain doctor's authoritative warn line. The
fix was two lines (ALERT_HOURS = max(ACT_HOURS, WARN_HOURS)), not a
rewrite. Lesson: when a page repeats about a system that measures healthy,
suspect the thresholds before the system.nice'd) step was equally unfounded — the step
finished in seconds while the host was under sustained concurrent load.
Contention theories need the same stopwatch as staleness theories.The output is a measurement verdict (conversation-level; this skill writes no brain pages). Only after the verdict is a fix proposed, sized against the measured number:
## Measurement verdict
- Alert: <the alert text and which monitor emitted it>
- Claim: <the temporal claim, e.g. "source-a 14h stale">
- Measured: <exact command> → <duration> (<key output, e.g. "Already up to date">)
- Budgeted: <timeout constant + any call-site override, file:line>
- Thresholds: monitor act-line <X>h vs doctor warn-line <Y>h → <match | MISMATCH>
- Verdict: false page on healthy system | needs more time | wedged | genuine regression
- Fix: <the change, justified by the measured number — or "none; adjust the alert line">investigate — systematic debugging of code bugs ("why is this
broken", 500 errors, wrong output). Boundary: investigate root-causes code
behavior; this skill is the measure-first gate for temporal ops alerts
(stale/timeout/freshness/wedged) that runs before any timeout or threshold
is touched. If the stopwatch confirms a genuine slowness or regression, hand
off to investigate with the measured number.skills/maintain/SKILL.md — runs brain health checks and repairs
(doctor, extraction, dream cycle). Boundary: maintain emits and acts on
health output; this skill governs how to respond when one of those checks
pages, before budgets or wrappers change.skills/cron-scheduler/SKILL.md — schedules monitors and jobs.
Boundary: cron-scheduler decides when monitors run; this skill supplies
the act-line vs alert-line rule their thresholds must encode.skills/conventions/test-before-bulk.md — trial-before-bulk for
mutations. Same spirit (evidence before action), different object: that
convention gates bulk writes; this skill gates timeout/threshold/pipeline
changes.© garrytan, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/measure-before-you-fix of garrytan/gbrain.
Open the folder on GitHubat commit f250a51
Measure Before You Fix next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Measure Before You Fix this skillgarrytan/gbrain | 31k | — | ~2.5k | Automated safety check: Pass | MIT | |
| ScheduleTinyAGI/tinyagi | 3.6k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Send User MessageTinyAGI/tinyagi | 3.6k | — | ~829 | Automated safety check: Pass | MIT | |
| Cron Opsczl9707/build-your-own-openclaw | 1.9k | — | ~593 | Automated safety check: Pass | MIT | |
| X Bookmarkssharbelxyz/x-bookmarks | 289 | — | ~2k | Automated safety check: Notes | None | |
| Wp Wpcli And OpsAutomattic/agent-skills | 211 | 2 repos | ~988 | Automated safety check: Pass | None |
TinyAGI/tinyagi
Create, list, and delete scheduled tasks (recurring or one-time) that send messages to agents.
TinyAGI/tinyagi
Send a proactive message to a paired user via their channel (Discord, Telegram, or WhatsApp).
czl9707/build-your-own-openclaw
Create, list, and delete scheduled cron jobs. An agent skill from czl9707/build-your-own-openclaw.
sharbelxyz/x-bookmarks
Fetch, summarize, and manage X/Twitter bookmarks via bird CLI or X API v2.
Automattic/agent-skills
A skill your agent uses when working with WP-CLI (wp) for WordPress operations: safe search-replace, db export/import, plugin/theme/user/content management, cron, cache flushing, multisite, and…
ohdearapp/ohdear-cli
Manage Oh Dear website monitoring using the ohdear CLI. An agent skill from ohdearapp/ohdear-cli.
garrytan/gbrain
Traces a factual error the user points out back to its source (a brain page, a memory file, SOUL.md or USER.md, or a hallucination) and fixes that source instead of just noting the correction.
garrytan/gbrain
Searches and writes a company-wide knowledge brain through the gbrain CLI, so durable decisions and facts about people, projects and history stay findable beyond one session.
garrytan/gbrain
Ingest links, articles, tweets, and ideas into the brain. An agent skill from garrytan/gbrain.
garrytan/gbrain
Sends what your notes already know about a topic to Perplexity, so the cited web search reports only what is new, such as entity updates or deal changes.
garrytan/gbrain
Migrate a brain from gbrain-base (or any pack) to gbrain-base-v2's 14-canonical-type taxonomy via gbrain onboard --check + the unify-types Minion handler.
garrytan/gbrain
Run gbrain skillpack-check to produce an agent-readable JSON health report for the gbrain install.
Categories
Before fixing a slow/stale/timeout alert, measure the step yourself. Measure Before You Fix is an agent skill from garrytan/gbrain. Before fixing a slow/stale/timeout alert, measure the step yourself.
Measure Before You Fix fits situations like: tasks that involve Scheduled and recurring tasks.
Run `npx skills add garrytan/gbrain --skill measure-before-you-fix -a claude-code`. Or copy the skill folder (skills/measure-before-you-fix in garrytan/gbrain) into .claude/skills/measure-before-you-fix in your project. Claude Code loads it when a task matches its description.
Run `npx skills add garrytan/gbrain --skill measure-before-you-fix -a codex`. Or copy the skill folder (skills/measure-before-you-fix in garrytan/gbrain) into .agents/skills/measure-before-you-fix in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add garrytan/gbrain --skill measure-before-you-fix -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/measure-before-you-fix, .gemini/skills/measure-before-you-fix, .github/skills/measure-before-you-fix and .opencode/skills/measure-before-you-fix in your project.
SKILL.md names no scripts, command-line tools or credentials: Measure Before You Fix is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Measure Before You Fix is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Measure Before You Fix: Schedule (TinyAGI/tinyagi, 3.6k stars), Send User Message (TinyAGI/tinyagi, 3.6k stars), Cron Ops (czl9707/build-your-own-openclaw, 1.9k stars) and X Bookmarks (sharbelxyz/x-bookmarks, 289 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
garrytan (a GitHub user) maintains it in garrytan/gbrain, which has 30,736 GitHub stars. The repository holds 47 skills in this directory. The repository was last updated on October 10, 2026.
Source: garrytan/gbrain on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.