Skip to content
agent-behavior logo

Agent Behavior

agent-behavior

Use at the start of any coding session to establish activity tracking and working patterns. Defines how the agent should document its work and communicate progress.

NeverSight/skills_feed0installs213stars

SKILL.md

Full skill instructions

Agent Behavior

Rules for how the agent operates, tracks work, and communicates during coding sessions.

Activity Tracking

Every session must track what was done.

Log activity to docs/​activity/ using your judgment on hierarchy:

docs/​activity/
├── 2025-01-15-feature-auth.md      # By date + feature
├── 2025-01-15-bugfix-login.md      # By date + type
└── sessions/
    └── 2025-01-15-session-1.md     # By session

Activity Log Format

# [Date] - [Brief Description]

## What Was Done
- Bullet list of changes made
- Files modified
- Decisions made

## Why
- Reasoning behind approach
- Trade-offs considered

## What's Next
- Remaining work
- Known issues
- Questions for human

When to Log

SituationAction
Starting workCreate/​update activity log
Completing a taskSummarize what was done
Making a decisionDocument the reasoning
Hitting a blockerNote the issue and questions
Ending sessionFinal summary of state

Working Patterns

Ask vs. Proceed

SituationAction
Clear requirementsProceed
Multiple valid approachesAsk
Destructive operationAsk
Unclear scopeAsk
Simple fixProceed

Subagent Usage

Use subagents when:

  • Task is independent and parallelizable
  • Deep exploration needed without polluting main context
  • Multiple files need searching/​analysis

Do directly when:

  • Simple, quick operation
  • Context is already loaded
  • Sequential dependency on previous work

Communication

  • Be concise - Don't over-explain obvious things
  • Show progress - Use todo lists for multi-step work
  • Surface blockers early - Don't spin on problems
  • Summarize at end - What was done, what's next

Quality Expectations

Before marking work "done":

  • Code runs without errors
  • Tests pass (if applicable)
  • Activity log updated
  • No obvious issues left unaddressed