/agentic-behavior:continue-workfrom agentic-behavior
Recovers session state after restart, compaction, or interruption. Restores scheduled crons from YAML, audits recent git/task activity, and determines next work item.
Ships in agentic-behavior. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Recover session state and resume work after a restart, compaction, or interruption.
Read .claude/scheduled-tasks.yaml and recreate ALL enabled crons:
1. Read .claude/scheduled-tasks.yaml
2. For each task where enabled: true:
- Call CronCreate with the task's cron expression and prompt
- Use recurring: true for recurring tasks, false for one-shot
3. Verify with CronList that all expected crons are active
4. Catch-up check (see staleness rules below)
When a session was down and crons were missed, apply these rules to decide whether to fire a catch-up run:
CRITICAL: CronCreate state is session-only. It does NOT survive compaction or restart. You MUST recreate crons from the YAML file every time this skill runs — even if you think they might still be active. Check with CronList first to avoid duplicates.
Determine what you were working on by checking these sources in order:
.claude/tmp/ — any intermediate work files?For each piece of active work found, determine:
Post a brief status summary (to the handler's active channel, or terminal):
Session recovered. State:
- Restored N crons from scheduled-tasks.yaml
- Active work: [brief description]
- Next step: [what you'll do now]
- Blocked: [anything waiting on someone]
Then continue working on the highest-priority active item.
.claude/rules/scheduled-tasks.md), not in this pluginrules/autonomy.md — when to act vs when to askWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
session-recovery, cron-restore, work-resumption, state-audit
npx claudepluginhub nsheaps/ai-mktpl --plugin agentic-behavior9 skills in this plugin
/brainGit-backed memory and prompt tracking with self-checking reminders. Auto-saves prompts, syncs memory to git, and implements the Ralph loop pattern for work validation./claude-codeReference material for Claude Code internals — the on-disk layout under ~/.claude and project-scope .claude, the plugin cache, session-env propagation, and the full hook lifecycle. Auto-recall when working on Claude-Code-related tasks: writing or debugging hooks, authoring plugins, inspecting session state, troubleshooting why an env var is or isn't visible to a Bash tool call, or when paths under ~/.claude or ~/.claude/plugins/ come up./correct-behaviorOther plugins' skills for the same job