Skip to content
Agentmart
Submit a tool

write-goal

Create crisp, verifiable goal prompts and execution plans for long-running agent work after investigating available context first.

Skill by ryangriffinau

IndexedMIT★ 1
Write a review

Chalk Labs

Need help deploying write-goal?

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.

Book a call

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/ryangriffinau-write-goal

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

Create crisp, verifiable goal prompts and execution plans for long-running agent work after investigating available context first. Use when the user asks to set, shape, prepare, refine, or plan a goal, mentions /goal or goal mode (if your agent provides one), asks for acceptance criteria, or wants an agent goal that can run for hours or days.

Use cases: writing, agent-building

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/write-goal

What's inside

Skill name
write-goal
Description
Create crisp, verifiable goal prompts and execution plans for long-running agent work after investigating available context first. Use when the user asks to set, shape, prepare, refine, or plan a goal, mentions /goal or goal mode (if your agent provides one), asks for acceptance criteria, or wants an agent goal that can run for hours or days.
License
MIT
Instructions
94 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • UI_VISUAL_ACCEPTANCE.md

SKILL.md (first lines)

# Write Goal

Use this skill to turn a fuzzy ambition into a goal the agent can actually finish. The output should be a clear goal statement plus enough operating guidance for execution, measurement, progress tracking, and final review.

For UI or visual goals, also apply [UI_VISUAL_ACCEPTANCE.md](UI_VISUAL_ACCEPTANCE.md).

## Core Rule

Do not ask the user anything until you have done pre-investigation.

Before questions, inspect all available local context that could answer them: repo docs, existing plans/specs, code, tests, config, current git state, issue tracker context, linked artifacts the user provided, and relevant existing skills. If a question can be answered by investigation, answer it yourself.

Ask the user only when an answer cannot be discovered, materially changes the goal, or requires permission, credentials, budget, production access, destructive action, or a product judgment. Ask one question at a time and include your recommended answer.

The most important output is closed acceptance criteria. Before setting or handing off a goal, resolve every known branch that could change what "done" means. Do not leave alternatives like "maybe include X", "depending on Y", or "probably good enough" inside the goal. Either decide the branch from evidence, ask the user to decide it, or mark the goal blocked until it is resolved.

## Workflow

1. Investigate first
   - Identify the actual desired outcome, not just the requested activity.
   - Find existing constraints, owner docs, related specs/issues, test commands, deployment surfaces, and known risks.
   - Check whether the environment needed for the goal is realistic or only a local approximation.
   - Note what is measurable now and what measurement tooling may need to be created.

2. Resolve goal shape
   - State the smallest useful finish line.
   - Prefer concrete numbers, parity checks, pass/fail criteria, or named artifacts.
   - Define what does not count as success, especially shortcuts that could game the metric.
   - Walk the acceptance-criteria decision tree until no open branches remain.
   - Record resolved constraints: scope boundaries, target surfaces, quality bar, exclusions, allowed shortcuts, forbidden shortcuts, and required evidence.
   - For visual goals, avoid pure "pixel perfect" criteria unless visual diff tooling and non-visual requirements are also defined.
   - For UI goals, close the specific visual acceptance branches in [UI_VISUAL_ACCEPTANCE.md](UI_VISUAL_ACCEPTANCE.md).

3. Build the goal packet
   - Goal: one concise sentence suitable for your agent's goal/objective input.
   - Acceptance criteria: objective checks that decide completion.
   - Starting context: files, docs, routes, systems, commands, and suspected hotspots to inspect first.
   - Measurement plan: how progress will be measured, including smoke checks, full checks, benchmarks, evals, screenshots, logs, or artifacts.
   - Environment plan: the most realistic available environment, required access, fallback branches, and any local/prod differences.
   - Progress tracking: meaningful checkpoints, commits/PRs/status artifacts, or external updates if requested.
   - Receipt: what evidence must be saved at the end, such as metrics, logs, screenshots, result files, links, or a summary doc.
   - Skeptical review: final audit angles and cleanup checks before calling the goal complete.
   - Resolved branches: key decisions that clarify scope and acceptance criteria, with the source of each decision.

4. Question loop, if needed
   - Ask the highest-leverage unresolved question first.
   - Provide your recommended answer and explain the tradeoff briefly.
   - After the user answers, update the goal packet rather than restarting.
   - Continue until the goal is executable, verifiable, and free of open acceptance-criteria branches.

5. Set or hand off the goal
   - If the user explicitly asked you to set the goal and a goal tool is available, create it only after the packet is coherent.
   - Otherwise provide the exact goal text (the prompt your agent will run) and the supporting execution plan.

## Goal Quality Checklist

- The goal has a finish line the agent can test.
- Every known branch that changes acceptance criteria has been resolved.
- Outcome constraints are explicit: in scope, out of scope, quality bar, evidence required, and unacceptable shortcuts.
- UI or visual goals have explicit target screens, states, responsive sizes, design constraints, behavior checks, and screenshot/browser evidence.
- The plan starts from investigated evidence, not user interrogation.
- The agent has a realistic environment or a clearly documented fallback.
- Progress is measurable before the long run begins.
- Smoke mode and full mode are separated when a job may be expensive or slow.
- The plan includes a durable receipt, not only terminal output.
- The final step includes skeptical review and cleanup of failed attempts.
- The goal avoids incentives to pass by reducing scope, weakening tests, hiding failures, or faking visuals.

## Example Output Shape

```md
Goal:
Reduce production-like build plus deploy preview time by 30% without disabling existing build paths or weakening tests.

Acceptance criteria:
- Baseline and final timings are captured from the same deploy-preview path.
- Final median time across 3 runs is at least 30% lower than baseline.
- Existing typecheck, build, and relevant tests still pass.
- No build paths, tests, telemetry, or validation are removed to hit the metric.

Starting context:
- Inspect docs/tooling/deploy.md, CI config, build scripts, and recent deploy logs first.

Measurement plan:
- Capture a baseline receipt, make one tracer change at a time, run smoke checks locally, then remeasure in the preview environment.

Receipt:
- Save baseline/final timings, commands, deploy links, changed files, and residual risks in the handoff summary.

Skeptical review:
- Review for hidden scope reduction, cache-only wins, flaky timing, and cleanup of failed experiments.
```

From ryangriffinau/skills, MIT.

More from ryangriffinau/skills

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Oct 14, 2026 (17 days ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from ryangriffinau

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 write-goal 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.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying write-goal?

CallGet help
Cite this page

write-goal skill. Agent Mart. https://agentmart.dev/skills/ryangriffinau-write-goal (last updated 2026-10-24)