Individual skill

harness-step3-session-management

Harness Engineering 第二阶段:建立跨 session 状态管理,解决 agent 每次对话失忆的问题。 创建 tasks.json(任务清单)、progress.md(进度记录)、init.sh(环境初始化脚本)三个文件。 当用户说"建立任务管理"、"让 agent 记住进度"、"创建 tasks.json"、"跨 session 保持状态"、 "agent 每次都不记得上次做了什么"、"建立 progress 文件"、"初始化状态管理"时,立即使用此 skill。 前置条件:harness-step1 和 harness-step2 已完成(项目有 AGENTS.md 和 docs/ 知识库)。

skills/harness-step3-session-management/SKILL.md

Read pinned source

Source commit e5ba66cac91c857dce254dc6b6195d52201068d8

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
No
Observed behavior
Not checked yet
Last checked
Nov 6, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
203
Repository last updated
Aug 26, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Harness Step 3: 建立跨 Session 状态管理

## 目标

创建三个文件,让 agent 在任何新 session 开始时能在 30 秒内恢复工作状态:

- `init.sh`:环境初始化脚本,验证项目可以正常启动
- `tasks.json`:当前任务清单,agent 的工作指令来源
- `progress.md`:人类可读的进度摘要,记录每次 session 的关键信息

**核心原则**:状态靠文件传递,不靠 agent 的记忆。git log 是主记录,这三个文件是辅助。

---
Back to top