plugins/gtd/skills/gtd-capture/SKILL.md
Proactive capture trigger detection for GTD workflow. Detects "I need to", "we should", "remind me" signals and routes to inbox.
npx skillsauth add madappgang/magus gtd-captureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Apply this skill whenever you detect any of the following semantic signals in the user's messages or code:
Maximum 2 capture suggestions per session. After 2 suggestions, stop offering — do not suggest a third time.
Track mentally whether you have already offered capture in this session.
When you detect a capture signal, offer ONE of these phrasings (pick based on signal type):
Inbox capture:
Capture to GTD inbox? → "[detected text]" [y/N]
Waiting For capture:
Add to Waiting For: "[detected text]"? [y/N]
Someday/Maybe capture:
Add to Someday/Maybe: "[detected text]"? [y/N]
If user says "y" or "yes": Run the Bash command to append to tasks.json:
CWD=$(pwd)
GTD_LIB="${CLAUDE_PLUGIN_ROOT}/hooks/gtd-lib.sh"
source "$GTD_LIB"
gtd_init
ID=$(gtd_new_id)
NOW=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
TASK_JSON=$(jq -n --arg id "$ID" --arg subject "<detected text>" --arg list "<inbox|waiting|someday>" --arg created "$NOW" \
'{id: $id, subject: $subject, list: $list, context: [], parentId: null, energy: null, timeEstimate: null, waitingOn: null, dueDate: null, created: $created, modified: $created, completed: null, notes: ""}')
echo "$TASK_JSON" | gtd_append_task
bun run "${CLAUDE_PLUGIN_ROOT}/tools/gtd-display.ts" capture "$ID" "<detected text>" --list "<inbox|waiting|someday>"
If user says "n", ignores it, or doesn't respond: Drop it silently. Never repeat the suggestion for the same item.
Check GTD_SUGGESTIONS environment variable:
off or disabled: Never suggest captures. Skip this skill entirely.minimal: Only suggest at session start via hook. Skip in-conversation suggestions.on (default): Full proactive capture enabled.testing
A test skill for validation testing. Use when testing skill parsing and validation logic.
tools
--- name: bad-skill description: This skill has invalid YAML in frontmatter allowed-tools: [invalid, array, syntax prerequisites: not-an-array --- # Bad Skill This skill has malformed frontmatter that should fail parsing. The YAML has: - Unclosed array bracket - Wrong type for prerequisites (should be array, not string)
development
Sync model aliases from the curated Firebase database. Fetches default model assignments, short aliases, team compositions, and known model metadata from the claudish API. Run this to get fresh model recommendations.
tools
Release one or more Magus plugins to the distribution repos (magus, magus-alpha, magus-marketing). Handles version inference from git history, marketplace.json updates, tagging, and force-push to lean dist repos. Use whenever the user says "release kanban", "release the dev plugin", "cut a new version of gtd", "bump kanban to 1.7", or hands you a batch like "release kanban and gtd". Also use for multi-plugin releases and for checking what a release would contain before committing.