Claude Code Agent Development
anthropics/claude-plugins-official
Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.
A skill your agent uses when wrapping up a session before ending.
$ npx skills add sangrokjung/claude-forge --skill session-wrap -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sangrokjung/claude-forge session-wrap --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/sangrokjung/claude-forge.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/session-wrap .claude/skills/session-wrap && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "session-wrap" agent skill from https://github.com/sangrokjung/claude-forge/tree/main/skills/session-wrap into .claude/skills/session-wrap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-wrap", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/sangrokjung/claude-forge/tree/main/skills/session-wrapType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add sangrokjung/claude-forge --skill session-wrap -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sangrokjung/claude-forge session-wrap --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sangrokjung/claude-forge.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/session-wrap .agents/skills/session-wrap && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "session-wrap" agent skill from https://github.com/sangrokjung/claude-forge/tree/main/skills/session-wrap into .agents/skills/session-wrap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-wrap", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sangrokjung/claude-forge --skill session-wrap -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sangrokjung/claude-forge session-wrap --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sangrokjung/claude-forge.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/session-wrap .cursor/skills/session-wrap && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "session-wrap" agent skill from https://github.com/sangrokjung/claude-forge/tree/main/skills/session-wrap into .cursor/skills/session-wrap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-wrap", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/sangrokjung/claude-forge.git --path skills/session-wrap--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add sangrokjung/claude-forge --skill session-wrap -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sangrokjung/claude-forge session-wrap --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sangrokjung/claude-forge.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/session-wrap .gemini/skills/session-wrap && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "session-wrap" agent skill from https://github.com/sangrokjung/claude-forge/tree/main/skills/session-wrap into .gemini/skills/session-wrap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-wrap", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install sangrokjung/claude-forge session-wrapInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add sangrokjung/claude-forge --skill session-wrap -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sangrokjung/claude-forge.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/session-wrap .github/skills/session-wrap && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "session-wrap" agent skill from https://github.com/sangrokjung/claude-forge/tree/main/skills/session-wrap into .github/skills/session-wrap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-wrap", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sangrokjung/claude-forge --skill session-wrap -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sangrokjung/claude-forge session-wrap --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sangrokjung/claude-forge.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/session-wrap .opencode/skills/session-wrap && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "session-wrap" agent skill from https://github.com/sangrokjung/claude-forge/tree/main/skills/session-wrap into .opencode/skills/session-wrap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-wrap", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
session-wrapA skill your agent uses when wrapping up a session before ending.
Session Wrap is an agent skill from sangrokjung/claude-forge. Use when wrapping up a session before ending. 4 parallel subagents detect doc updates, repeated patterns, learning points, and follow-ups, then a verifier deduplicates and presents choices. Triggers on /session-wrap, session wrap, session cleanup, end of session.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `references/output-schema.md`, `references/prompt-automation-scout.md` and `references/prompt-doc-updater.md`).
It sits in Agent Workflows, covering Subagents. The repository describes itself as: oh-my-zsh for Claude Code — 16 agents, 35 commands, 32 skills, 21 safety hooks in one install. v4.0 adds an adversarial review loop: a second agent that never sees the first… The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 34d881d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Session Wrap loads about 1.6k tokens when it runs, and up to ~6.1k if it reads all its reference files. Until then it costs about 69 tokens; SKILL.md has 350 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from sangrokjung/claude-forge at commit 34d881d, republished under its MIT licence (© sangrokjung). 350 words, ~1,576 tokens.
.claude/skills/session-wrap/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.입력: /session-wrap [--dry-run] [--skip-docs] [--skip-learning] [--skip-scout] [--skip-followup]
[Phase 0] 컨텍스트 수집
├─ git diff --stat (이번 세션 변경사항)
├─ ~/.claude/homunculus/observations.jsonl (최근 관찰)
└─ /tmp/session-wrap/context.md 생성
[Phase 1] 병렬 4개 subagent (Explore, sonnet)
├─ doc-updater → 문서 업데이트 필요 곳 탐지
├─ automation-scout → 반복 패턴 발견 + 스킬 후보 제안
├─ learning-extractor → 배운 점 추출 (instinct 후보)
└─ followup-suggester → 다음 작업 제안
[Phase 2] 순차 1개 subagent (Explore, sonnet)
└─ duplicate-checker → Phase 1 결과 중복 제거 + 카테고리 분류
[Phase 3] AskUserQuestion으로 사용자 선택
[Phase 4] 선택된 항목만 실행
[Phase 5] 리포트 출력 + session-wrap-followups.md 기록사용자 입력에서 다음을 추출:
| 파라미터 | 기본값 | 설명 |
|---|---|---|
| --dry-run | false | 탐지만 수행, 실행하지 않음 (Phase 3에서 중단) |
| --skip-docs | false | doc-updater subagent 생략 |
| --skip-learning | false | learning-extractor subagent 생략 |
| --skip-scout | false | automation-scout subagent 생략 |
| --skip-followup | false | followup-suggester subagent 생략 |
세션 중 변경사항과 관찰 데이터를 수집하여 subagent에 전달할 컨텍스트를 구성한다.
# 1. Git 변경사항 수집 (git repo인 경우만)
WORK_DIR=$(pwd)
if git -C "$WORK_DIR" rev-parse --is-inside-work-tree 2>/dev/null; then
git -C "$WORK_DIR" diff --stat HEAD~5..HEAD > /tmp/session-wrap/git-changes.txt 2>/dev/null || true
git -C "$WORK_DIR" diff --name-only HEAD~5..HEAD > /tmp/session-wrap/changed-files.txt 2>/dev/null || true
git -C "$WORK_DIR" log --oneline -10 > /tmp/session-wrap/recent-commits.txt 2>/dev/null || true
fi
# 2. 관찰 데이터 수집 (최근 50개)
OBS_FILE="$HOME/.claude/homunculus/observations.jsonl"
if [ -f "$OBS_FILE" ]; then
tail -50 "$OBS_FILE" > /tmp/session-wrap/recent-observations.jsonl
fi
# 3. 버퍼 데이터 수집 (있으면)
BUFFER_FILE="$HOME/.claude/homunculus/buffer.jsonl"
if [ -f "$BUFFER_FILE" ]; then
tail -30 "$BUFFER_FILE" > /tmp/session-wrap/recent-buffer.jsonl
fi/tmp/session-wrap/ 디렉토리를 생성하고 위 수집을 실행한다.
4개 subagent를 동시에 실행한다. --skip-* 플래그로 특정 subagent를 건너뛸 수 있다.
각 subagent 프롬프트는 references/ 디렉토리에 위치:
| Subagent | 프롬프트 파일 | 출력 파일 |
|---|---|---|
| doc-updater | references/prompt-doc-updater.md | /tmp/session-wrap/results/doc-updates.json |
| automation-scout | references/prompt-automation-scout.md | /tmp/session-wrap/results/automation-patterns.json |
| learning-extractor | references/prompt-learning-extractor.md | /tmp/session-wrap/results/learning-points.json |
| followup-suggester | references/prompt-followup-suggester.md | /tmp/session-wrap/results/followup-tasks.json |
# 활성화된 subagent만 필터링
active_agents = [
("doc-updater", skip_docs 아니면),
("automation-scout", skip_scout 아니면),
("learning-extractor", skip_learning 아니면),
("followup-suggester", skip_followup 아니면),
]
# 병렬 Task 호출 (Explore, sonnet)
for agent in active_agents:
Task(
subagent_type="Explore",
prompt=Read("references/prompt-{agent}.md") + context_data
)각 subagent는 결과를 JSON 파일로 /tmp/session-wrap/results/에 기록한다.
모든 subagent의 출력은 동일한 아이템 스키마를 따른다:
{
"items": [
{
"id": "unique-id",
"source": "doc-updater|automation-scout|learning-extractor|followup-suggester",
"title": "항목 제목",
"description": "상세 설명",
"category": "auto|user|info",
"priority": "high|medium|low",
"action": "실행할 구체적 작업 (있으면)",
"files": ["관련 파일 경로들"]
}
]
}카테고리 분류 기준:
Phase 1의 모든 결과를 수집하여 duplicate-checker subagent에 전달한다.
프롬프트: references/prompt-duplicate-checker.md
역할:
출력: /tmp/session-wrap/results/merged-actions.json
--dry-run이면 여기서 중단하고 탐지 결과만 출력한다.
## 세션 정리 항목
### 자동 실행 (auto) - N건
1. [docs] README.md 타임스탬프 갱신
2. [docs] CODEMAPS/backend.md 모듈 추가
### 사용자 선택 필요 (user) - M건
3. [ ] [scout] "API 에러 처리" 패턴 → 스킬 후보
4. [ ] [followup] auth 모듈 리팩토링 제안
5. [ ] [learning] "Supabase RLS 패턴" instinct 생성
### 참고 정보 (info) - K건
6. [learning] 이번 세션에서 3개 새 라이브러리 사용
7. [stats] 변경 파일 12개, 커밋 5개
실행할 항목 번호를 선택하세요 (예: 1,3,4 또는 all 또는 auto-only):AskUserQuestion으로 사용자 입력을 받는다.
all: auto + 모든 user 항목 실행auto-only: auto 항목만 실행1,3,4: 특정 번호만 실행none: 아무것도 실행하지 않음사용자가 선택한 항목을 실행한다:
| 카테고리 | 실행 방식 |
|---|---|
| docs 업데이트 | Edit/Write로 직접 수정 |
| scout 스킬 후보 | /tmp/session-wrap/skill-candidates.md에 기록 |
| learning instinct | ~/.claude/homunculus/instincts/personal/에 MD 파일 생성 |
| followup 작업 | /tmp/session-wrap/session-wrap-followups.md에 기록 |
## Session Wrap 완료
### 실행 결과
- 문서 업데이트: N건 완료
- 스킬 후보 기록: M건
- Instinct 생성: K건
- 후속 작업 기록: L건
### 후속 작업 파일
/tmp/session-wrap/session-wrap-followups.md
### 스킬 후보 파일 (있으면)
/tmp/session-wrap/skill-candidates.md후속 작업 파일(session-wrap-followups.md)은 다음 세션 시작 시 /context-sync로 로드할 수 있다.
| 상황 | 대응 |
|---|---|
| git repo 아님 | git 관련 컨텍스트 생략, 나머지 진행 |
| observations.jsonl 없음 | 관찰 데이터 없이 진행, 경고 표시 |
| subagent 실패 (일부) | 실패 subagent 결과 생략, 나머지로 진행 |
| 결과가 0건 | "정리할 항목이 없습니다" 출력 |
| /tmp 쓰기 불가 | 에러 메시지 출력 후 중단 |
| 파일 | 용도 |
|---|---|
references/prompt-doc-updater.md | doc-updater subagent 프롬프트 |
references/prompt-automation-scout.md | automation-scout subagent 프롬프트 |
references/prompt-learning-extractor.md | learning-extractor subagent 프롬프트 |
references/prompt-followup-suggester.md | followup-suggester subagent 프롬프트 |
references/prompt-duplicate-checker.md | duplicate-checker subagent 프롬프트 |
references/output-schema.md | 출력 JSON 스키마 상세 |
© sangrokjung, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files (references) in skills/session-wrap of sangrokjung/claude-forge.
Open the folder on GitHubat commit 34d881d
Session Wrap next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Session Wrap this skillsangrokjung/claude-forge | 852 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Claude Code Agent Developmentanthropics/claude-plugins-official | 38k | 7 repos | ~2.8k | Automated safety check: Pass | Apache-2.0 | |
| Subagent Driven DevelopmentAsvarox/allkaraoke | 261 | 37 repos | ~1.2k | Automated safety check: Pass | None | |
| Dispatching Parallel Agentsultralisp/ultralisp | 258 | 40 repos | ~1.5k | Automated safety check: Pass | None | |
| Paseo Advisor Second Opiniongetpaseo/paseo | 20k | 1 repos | ~756 | Automated safety check: Pass | Custom licence | |
| Task Observerrebelytics/one-skill-to-rule-them-all | 3.2k | 1 repos | ~12k | Automated safety check: Pass | CC-BY-4.0 |
anthropics/claude-plugins-official
Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.
Asvarox/allkaraoke
A skill your agent uses when executing implementation plans with independent tasks in the current session
ultralisp/ultralisp
A skill your agent uses when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
getpaseo/paseo
Launches one separate agent through Paseo to give a second opinion on the current task, with a self-contained briefing and no permission to edit files.
rebelytics/one-skill-to-rule-them-all
Monitors task execution for skill improvement opportunities.
openobserve/openobserve
Splits a change into planner, coder and independent reviewer roles: you confirm a spec, a subagent implements it, and a separate reviewer checks each round's local WIP commit.
sangrokjung/claude-forge
Master systematic debugging techniques, profiling tools, and root cause analysis to efficiently track down bugs across any codebase or technology stack.
sangrokjung/claude-forge
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing.
sangrokjung/claude-forge
Analyze session work and automatically convert reusable patterns into Claude Code skills.
sangrokjung/claude-forge
A skill your agent uses when starting Claude Code projects, writing CLAUDE.md/spec.md, dispatching subagents, or requesting Agent Teams parallel development.
sangrokjung/claude-forge
Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents.
sangrokjung/claude-forge
Measure and shrink the always-loaded context of a Claude Code harness (CLAUDE.md + rules without paths frontmatter) back under budget — migrate narrative to reference files, convert rules to…
Categories
A skill your agent uses when wrapping up a session before ending. Session Wrap is an agent skill from sangrokjung/claude-forge. Use when wrapping up a session before ending.
Session Wrap fits situations like: wrapping up a session before ending; session cleanup.
Run `npx skills add sangrokjung/claude-forge --skill session-wrap -a claude-code`. Or copy the skill folder (skills/session-wrap in sangrokjung/claude-forge) into .claude/skills/session-wrap in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sangrokjung/claude-forge --skill session-wrap -a codex`. Or copy the skill folder (skills/session-wrap in sangrokjung/claude-forge) into .agents/skills/session-wrap in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sangrokjung/claude-forge --skill session-wrap -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/session-wrap, .gemini/skills/session-wrap, .github/skills/session-wrap and .opencode/skills/session-wrap in your project.
Going by SKILL.md and its folder, Session Wrap needs the command-line tools its instructions call (git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Session Wrap is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Session Wrap: Claude Code Agent Development (anthropics/claude-plugins-official, 38k stars), Subagent Driven Development (Asvarox/allkaraoke, 261 stars), Dispatching Parallel Agents (ultralisp/ultralisp, 258 stars) and Paseo Advisor Second Opinion (getpaseo/paseo, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
sangrokjung (a GitHub user) maintains it in sangrokjung/claude-forge, which has 852 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on September 3, 2026.
Source: sangrokjung/claude-forge on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.