🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Focus Tree

by @noquant

Maintain persistent focus on active work with hierarchical task tracking. Prevents the agent from forgetting mid-project context, drifting between topics, or...

Versionv1.0.1
Installs1
πŸ’‘ Examples

Focus Tree operates on FOCUS.md and FOCUS-LOG.md directly.

Option 1: CLI Script (recommended)

node scripts/focus.mjs init "Project Name"    # Initialize
node scripts/focus.mjs add-todo "Task"        # Add task
node scripts/focus.mjs done 1                 # Mark done
node scripts/focus.mjs status active          # Update status
node scripts/focus.mjs archive "Outcome"      # Archive

Option 2: Direct File Operations

read /path/to/workspace/FOCUS.md
edit /path/to/workspace/FOCUS.md
  old: "☐ Incomplete task"
  new: "βœ… Completed task"

πŸ”’ Constraints

1. One focus at a time. If the user pivots, archive the old focus first. 2. Keep it short. FOCUS.md should be <50 lines. It's a resume point, not a journal. 3. πŸ“– Context is sacred. Always update it before stopping work. Future-you reads this first. 4. Don't duplicate memory files. FOCUS.md tracks *what we're doing now*. Daily memory files track *what happened*. Different jobs. 5. Archive when done. Append completed focuses to FOCUS-LOG.md with completion date and outcome, then clear FOCUS.md. 6. Read it, don't ask. If FOCUS.md exists, read it and resume. Don't ask "what were we working on?" when the answer is in the file.

View on ClawHub
TERMINAL
clawhub install focus-tree

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’