
Session init
Runs session-start checks on git state, Plans.md tasks and a harness-mem resume pack
Session init is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 42
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Session init
Session Init is an internal sub-skill that a session or startup workflow calls at the beginning of a Claude Code session. It looks at the current git branch and uncommitted changes, reads the in-progress and requested tasks in Plans.md, and skims the top of AGENTS.md for role assignments and prohibitions.
The skill also asks the harness-mem memory store for a resume pack covering the current project, using the session identifier when one is available. If retrieval fails, it checks the memory daemon's health, reports the problem and carries on. It warns when Plans.md or the session log grows past set line counts, then produces a short status report with the date, branch, priority tasks and notes.
It expects a git repository and the harness-mem MCP tools to be configured. The skill is not meant to be triggered directly for implementation, reviews or mid-session work.
When your agent uses it
Internal sub-skill for session startup checks, Plans.md status, git state, and harness-mem resume pack. Invoked by session/startup workflows only. Do NOT load for: implementation, reviews, or mid-session tasks.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- Asks for: Read, Write, Bash, mcp__harness__harness_mem_resume_pack, mcp__harness__harness_mem_sessions_list, mcp__harness__harness_mem_health(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 1 file (5 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the claudecode-research-harness-workflow plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add maxwell2732/claudecode-research-harness-workflow
/plugin install claudecode-research-harness-workflow@claudecode-research-harness-workflowOr copy only this skill to ~/.claude/skills/session-init:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/session-init &&
cp -R "$tmp/skills/session-init" ~/.claude/skills/session-init &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/session-init inside it instead.
Copy the skill folder to ~/.agents/skills/session-init to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/session-init &&
cp -R "$tmp/skills/session-init" ~/.agents/skills/session-init &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/session-init inside it instead.
Copy the skill folder to ~/.cursor/skills/session-init to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/session-init &&
cp -R "$tmp/skills/session-init" ~/.cursor/skills/session-init &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/session-init inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/maxwell2732/claudecode-research-harness-workflow.git --path skills/session-initOr copy the folder to ~/.gemini/skills/session-init yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/session-init:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/session-init &&
cp -R "$tmp/skills/session-init" ~/.copilot/skills/session-init &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/session-init inside it instead.
Get the folder:
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.gitThen copy claudecode-research-harness-workflow/skills/session-init into your agent's skills folder as session-init. Agents that support SKILL.md read one folder per skill.
What it does
- Git state check
- Reports the current branch, uncommitted changes and recent commits at session start.
- Plans.md task review
- Pulls in-progress, newly requested and assigned-but-unstarted tasks from Plans.md.
- AGENTS.md constraint summary
- Surfaces role assignments and prohibitions from the top of AGENTS.md.
- Harness memory resume pack
- Retrieves prior session context from the shared harness-mem store and injects it into startup.
- File size warnings
- Flags Plans.md and session log files that have grown beyond suggested limits.
- Memory daemon recovery
- Checks daemon health and lists recovery commands when memory retrieval fails.
Good for
- Start a session and see which tasks are still in progress
- Check the branch and uncommitted changes before continuing yesterday's work
- Resume a project with context carried over from the previous session
- Review the role rules in AGENTS.md before making changes
- Find out whether the Plans.md file needs tidying up
Session init FAQ
When does Session init run?
It is called internally from session or SessionStart-type flows. Its metadata sets it to be non-user-invocable and it is meant only for startup, not implementation, reviews or mid-session tasks.
Which tools does Session init use?
It is allowed to read and write files, run Bash, and call the harness_mem resume pack, sessions list and health tools.
What happens if the memory lookup fails?
It checks harness-mem health, notes the failure and continues the session. Recovery steps listed are doctor, cleanup-stale and start commands for the harness-memd script.
Does Session init include scripts?
No. The folder contains only the SKILL.md file and no scripts.
How do I install Session init in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/session-init to use it in all your projects, or to .claude/skills/session-init in one project. Or install the claudecode-research-harness-workflow plugin, which includes it: /plugin marketplace add maxwell2732/claudecode-research-harness-workflow, then /plugin install claudecode-research-harness-workflow@claudecode-research-harness-workflow.
Does Session init run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Session init?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Session init?
The closest alternatives to Session init are Session hardening, Ck, Session, Harness setup and Nemo rl session memory.
Where this comes from
- Description: from the skill's own SKILL.md.
More from maxwell2732/claudecode-research-harness-workflow

Drives a browser via the agent-browser CLI to open pages, fill forms and capture
- Open source
- 42 GitHub stars
- Browser automation

Guides an agent through adding Clerk, Supabase Auth or Stripe to an app with a security
- Open source
- 42 GitHub stars
- Databases

Triages failing CI pipelines and guides fixes without weakening tests
- Open source
- 42 GitHub stars
- Developer tools

Scaffolds CRUD endpoints, Zod validation and tests for an entity in your codebase
- Open source
- 42 GitHub stars
- Developer tools

Guides an agent through Vercel or Netlify deployment, analytics and health checks
- Open source
- 42 GitHub stars
- Cloud and infrastructure

Builds a one-page HTML acceptance demo to decide whether to ship, wait or reject
- Open source
- 42 GitHub stars
- Developer tools




