AGENT SKILL

goal

Capture or amend the session goal. The goal file at ~/.claude/audit/session-goals/<uuid>.md records the active goal and acceptance criteria for the session. Triggered by /goal, or by user phrases like "set session goal", "amend goal".

License 许可
MIT
最近更新
2026-10-13
Stars
★ 4
Forks
1

01 前言 Front Matter

name
goal
tools
[ "Read", "Write", "Bash" ]
description
Capture or amend the session goal. The goal file at ~/.claude/audit/session-goals/<uuid>.md records the active goal and acceptance criteria for the session. Triggered by /goal, or by user phrases like "set session goal", "amend goal".
user-invocable
true

02 资源文件 4

03 SKILL.md 正文

/goal

Records the current session goal as a stanza in ~/.claude/audit/session-goals/<session-uuid>.md.

When to use

  • Beginning of a session — capture the goal and 1-N acceptance bullets.
  • Mid-session — amend the goal if scope has refined (brainstorm → plan → impl evolution).

Invocation

/goal Goal: <one-line goal>
Acceptance:
- <bullet 1>
- <bullet 2>
- <bullet N>

The skill runs ~/.claude/skills/goal/goal.sh with the provided text. Behavior:

  1. Resolves the session UUID via ~/.claude/sessions/$$.json.
  2. If the goal file does not exist, writes a ## Initial <ts> stanza.
  3. If it exists, appends a ## Amendment <ts> stanza.
  4. Warns to stderr if the input lacks a Goal: line or an Acceptance: section (writes anyway — soft rollout).

Format

Each invocation appends a timestamped stanza (## Initial <ts> or ## Amendment <ts>) holding the Goal: line and the Acceptance: bullets shown above.

04 同仓库更多 Skills

ArangoGutierrez
ArangoGutierrez/claude-toolkit

update-cursor-settings

Modify Cursor/VSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.

★ 4
ArangoGutierrez
ArangoGutierrez/claude-toolkit

update-cli-config

View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.

★ 4
ArangoGutierrez
ArangoGutierrez/claude-toolkit

statusline

Configure a custom status line in the CLI. Use when the user mentions status line, statusline, statusLine, CLI status bar, prompt footer customization, or wants to add session context above the prompt.

★ 4
ArangoGutierrez
ArangoGutierrez/claude-toolkit

split-to-prs

Split current work into small reviewable PRs. Use when the user asks to split a chat, set of changes, branch, or PR.

★ 4
ArangoGutierrez
ArangoGutierrez/claude-toolkit

shell

Runs the rest of a /shell request as a literal shell command. Use only when the user explicitly invokes /shell and wants the following text executed directly in the terminal.

★ 4
ArangoGutierrez
ArangoGutierrez/claude-toolkit

sdk

Guide users building apps, scripts, CI pipelines, or automations on top of the Cursor SDK - TypeScript (`@cursor/sdk`) or Python (`cursor-sdk` / `cursor_sdk`). Use when the user mentions integrating, installing, or writing code against the Cursor SDK; says `Agent.create`, `Agent.prompt`, `Agent.resume`, `agent.send`, `run.stream`, `run.messages`, `CursorAgentError`, `@cursor/sdk`, `cursor-sdk`, or `cursor_sdk`; asks to run Cursor agents programmatically from a script, CI/CD pipeline, GitHub Action, backend service, or other code outside the Cursor IDE; wants to pick between local and cloud runtime, configure MCP servers for an SDK agent, or handle streaming, cancellation, or errors; or is wiring Cursor into an automation, bot, or REST `/v1/agents` migration. Use eagerly rather than answering from memory; the SDK surface evolves and this skill is the source of truth for the external packages.

★ 4