Set focus

From stevehuang0115/crewly · View interactive version

Set focus is an AI agent skill from the GitHub repository stevehuang0115/crewly. Replace your current focus list — the topics you should prioritise until further notice. Injected into your prompt on the next session.

How to use this skill

Skill file

Set Focus

Replace your focus list with a new set of topics. Focus items are the things you should keep front of mind — an active incident, a deadline, a recurring mistake you are correcting. They show up in your prompt (up to 5) and are pruned automatically after two weeks without an update, so refresh them when they still matter.

Setting focus replaces the whole list. To drop a single distraction instead, use suppress-noise.

Parameters

| Flag | JSON Field | Required | Description |

|------|-----------|----------|-------------|

| --item / -i (repeatable) | items (array) | Yes | Focus items, one per flag (or a JSON array) |

| --session / -s | sessionName | No | Your session name — defaults to $CREWLY_SESSION_NAME |

Examples

# CLI flags (preferred)
bash execute.sh --item "ship checkout v2 by Friday" --item "flaky payment e2e"

# Legacy JSON
bash execute.sh '{"items":["ship checkout v2 by Friday","flaky payment e2e"]}'

Output

{ "success": true, "focus": [...], "suppressed": [...] } — the attention state after the update.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.