name: farm
description: Manually trigger a context farmer subagent. Usage - /farm (e.g., /farm slack)
user-invocable: true
Farm
Run a context farmer to pull information from an external source into the vault.
Argument
$ARGUMENTS is the farmer name (e.g., slack).
Workflow
Validate argument: If
$ARGUMENTSis empty, list available farmers by globbing.claude/agents/*-farmer.mdand ask the user which one to run.Validate farmer exists: Check that
.claude/agents/$ARGUMENTS-farmer.mdexists. If not, list available farmers and report the error.Run the farmer: Launch the farmer subagent using the Agent tool:
- Use the agent name
$ARGUMENTS-farmer - Prompt: "Execute your farming instructions now."
- Use the agent name
Report results: After the farmer completes, summarize what was captured:
- Number of new files created
- Number of existing files updated
- List of entities with their types (task/project/person/idea)
- Any issues encountered