Agent skill

layton

Personal AI assistant for attention management. Use when user asks about focus, briefings, tracking items, or needs orientation across integrated skills.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/layton

SKILL.md

Stage 1 provides:

  • Health checks (doctor)
  • Temporal context
  • Configuration management
  • Skill inventory and discovery
  • Workflow management
  • AI orientation (combined status in one command)

<essential_principles>

  • Use bd directly for all state operations (never wrap it)
  • Always include --json flag for machine-readable output
  • Always include layton label on beads Layton creates
  • Only ONE bead should have focus label at any time
  • Workflows are AI instructions—Layton follows them, not executes them as code
  • Skill files in .layton/skills/ define how to query external tools
  • User workflows in .layton/workflows/ are customizable by users </essential_principles>
bash
$LAYTON

Step 2: Menu

What would you like to do?

  1. Get oriented (full status check)
  2. Track something (add to attention list)
  3. Set focus (designate current work item)
  4. Retrospect on workflow (reflect on what worked)
  5. Something else

Wait for response before proceeding.

Intent-based routing (bypass menu):

Intent Workflow
"setup", "configure", "onboard" workflows/setup.md
"audit", "review instructions" workflows/audit-project-instructions.md
"skill", "add skill", "create skill", "capture skill" workflows/author-skill.md
"workflow", "add workflow", "create workflow", "capture workflow" workflows/author-workflow.md

After selecting a workflow, read and follow it exactly.

<quick_start>

Get oriented (full status):

bash
${CLAUDE_PLUGIN_ROOT}/scripts/layton

Setup for first-time users: Run workflow in workflows/setup.md

Morning briefing: Follow examples/morning-briefing.md (or create your own via layton workflows add morning-briefing)

Track something: Run workflow in workflows/track-item.md

Set focus: Run workflow in workflows/set-focus.md

Gather data from skills: Follow examples/gather.md

Focus suggestions: Follow examples/focus-suggestion.md </quick_start>

<cli_commands>

Invocation: Set the LAYTON variable for this session:

bash
LAYTON="${CLAUDE_PLUGIN_ROOT}/scripts/layton"

Orientation (no args):

bash
$LAYTON

Returns combined doctor checks + skills inventory + workflows inventory. Use this for full AI orientation at start of any briefing or workflow.

Health check:

bash
$LAYTON doctor

Temporal context:

bash
$LAYTON context

Output: timestamp, time_of_day, day_of_week, work_hours, timezone

Configuration:

bash
$LAYTON config show       # Display config
$LAYTON config init       # Create default config
$LAYTON config get <key>  # Get specific value
$LAYTON config set <key> <value>  # Set value

Skills:

bash
$LAYTON skills                 # List known skills from .layton/skills/
$LAYTON skills --discover      # Find skills in skills/*/SKILL.md
$LAYTON skills add <name>      # Create new skill file from template

Workflows:

bash
$LAYTON workflows              # List workflows from .layton/workflows/
$LAYTON workflows add <name>   # Create new workflow file from template

</cli_commands>

<workflows_index>

Workflow Purpose
setup.md Interactive onboarding for new users
track-item.md Add item to attention list
set-focus.md Set current focus (only one at a time)
retrospect.md Reflect on a completed workflow
audit-project-instructions.md Review CLAUDE.md/AGENTS.md against best practices
author-skill.md Create or capture a skill file
author-workflow.md Create or capture a workflow file

</workflows_index>

<reference_index>

Reference Content
persona.md Layton's voice and persona characteristics
beads-commands.md bd CLI command reference for state operations
project-instructions.md Best practices for CLAUDE.md/AGENTS.md files
skill-authoring.md Template and guide for writing skill files
workflow-authoring.md Template and guide for writing workflow files

</reference_index>

<examples_index> Example Workflows (in examples/):

  • morning-briefing.md - Context-aware daily briefing
  • gather.md - Aggregate data from all skills
  • focus-suggestion.md - Help user decide what to work on

To use an example:

  1. Study it in examples/ for patterns
  2. Create user version: layton workflows add <name>
  3. Customize in .layton/workflows/ </examples_index>

<skill_integration>

Layton integrates with external skills through "skill files" in .layton/skills/.

Discovery:

bash
$LAYTON skills --discover

Shows skills available in skills/*/SKILL.md that can be integrated.

Adding a skill:

bash
$LAYTON skills add gtd

Creates .layton/skills/gtd.md from template. Edit to document:

  • Commands to run when gathering data
  • What information to extract from output
  • Key metrics to surface in briefings

Using skill files: When following workflows like gather.md or morning-briefing.md, read each skill file in .layton/skills/ and execute its documented commands.

</skill_integration>

<success_criteria>

  • User knows what they're tracking (bd list --label watching)
  • User knows their current focus (bd list --label focus)
  • Briefings adapt to time of day and workload
  • Skills are discovered and integrated via skill files
  • User can customize workflows in .layton/workflows/
  • Orientation command provides full status in one call </success_criteria>

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results