Project-AMBER: Skill for Claude Code

.github/skills/engram-close-session/SKILL.md

engram-close-session is a skill for Claude Code from JJHbrams/Project-AMBER. It costs 71 tokens per session (431 once invoked), scanned A, original, MIT.

A session-closing procedure for Project Engram that records completed work, checks unresolved curiosities, and saves relevant reflections and follow-up intentions. The instructions are written in Korean.

In plain words
What is it for?
Use it when explicitly ending an Engram session, reflecting with /reflect, recording what was completed, checking pending curiosities, or saving concrete next steps.
Why use it?
It provides a defined way to preserve useful session context instead of losing it when a conversation ends. It also distinguishes closing a session from saving progress during one.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents.

This is JJHbrams/Project-AMBER's own configuration. It tells Claude Code how to work on Project-AMBER itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Project-AMBER configures →

Reuse

Borrowing it

Nothing to install: this file belongs to JJHbrams/Project-AMBER. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/JJHbrams/Project-AMBER/master/.github/skills/engram-close-session/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/JJHbrams/Project-AMBER

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for engram-close-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/jjhbrams/project-amber/engram-close-session.svg)](https://agentmods.dev/skills/jjhbrams/project-amber/engram-close-session)
Your own site
<a href="https://agentmods.dev/skills/jjhbrams/project-amber/engram-close-session"><img src="https://agentmods.dev/badge/skills/jjhbrams/project-amber/engram-close-session.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 431 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.00431
Opus 5 $0.00036 $0.00216
Sonnet 5 $0.00014 $0.00086
Haiku 4.5 $0.00007 $0.00043

Measured 7d ago against content hash e2d2e2c9a739, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

engram-close-session scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/engram-close-session/SKILL.md · 30 lines

What it actually says

Engram session close workflow

세션을 닫을 때 activity, curiosity, narrative, memory 저장을 한 번의 절차로 처리한다.

중간 메모리/Wiki 정리, 진행상황 저장 요청은 세션을 닫지 않는다. engram_summarize_session을 사용하고 이 skill을 실행하지 않는다.

실행 절차

  1. 의미 있는 작업이 있었다면 engram_log_activity로 완료 내용을 기록한다.
  2. engram_list_curiosities(status="pending")로 미해결 curiosity를 확인한다.
  3. 사용자 피드백이나 /reflect가 있었으면 관련 curiosity와 이번 세션을 반성한다.
  4. 정체성 변화가 있을 때만 new_narrativepersona_observations를 작성한다. 변화가 없으면 둘 다 빈 값으로 확정한다.
  5. 다음에 이어 할 일이 있으면 open_intents에 구체적으로 남긴다.
  6. engram_close_session을 모든 파라미터와 함께 정확히 한 번 호출한다.
    • 오케스트레이터: trigger_sync=True
    • subagent: trigger_sync=False
  7. 일부 저장 단계가 실패하면 성공으로 포장하지 말고 실패 항목을 사용자에게 알린다.

규칙

  • engram_close_session 호출 전 curiosity 확인을 생략하지 않는다.
  • 일상적인 작업 완료만으로 narrative를 갱신하지 않는다.
  • watchdog placeholder나 자동 종료를 명시적 세션 종료로 간주하지 않는다.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 30 lines · 71 tokens per session scan A e2d2e2c9a739

Subscribe to this mod's changes

engram-close-session is a skill published in the GitHub repository JJHbrams/Project-AMBER (2 stars, last pushed today), licensed MIT. It adds 71 tokens to every session and 431 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

mulch-record-from-evidence

Turn the evidence of a finished work session — git commits, changed files, recently-touched seeds issues — into well-formed ml record invocations. Use at session close, when an agent has made changes worth preserving as mulch expertise but hasn't yet recorded them.

jayminwest/mulch · 61 tokens

memory-protocol

A shared set of rules for using a persistent memory service across coding-agent sessions.

vbcherepanov/total-agent-memory · 120 tokens

memory

Activate this skill when starting a new session, beginning a new task, saving knowledge, recalling past decisions, or after completing significant work. Also activate on errors to log them for pattern analysis. Relevant when the user asks about memory, past context, lessons learned, decisions history, project…

vbcherepanov/total-agent-memory · 65 tokens

wrap-it-up

Close out the current chat with a tight summary and a sweep of the current project's durable context files — memory entries, status and task docs, plan files, and any project-specific reminders — so nothing important dies in the transcript. Trigger on /wrap-it-up, "wrap it up", "wrap up this chat", "close out this…

jerseycheese/agent-skills · 119 tokens

awareness-memory

Persistent memory across sessions — local-first, no account needed. Automatically recalls past decisions, code, and tasks before each prompt, and saves session checkpoints. Also provides manual tools for searching, recording, and querying memory via Bash commands.

edwin-hao-ai/Awareness-SDK · 50 tokens

memory-system

Gives agents a durable memory that outlives a single session, storing user preferences, project conventions, and prior decisions in a slim MEMORY.md index backed by per-topic files. It lets an agent recall what was already learned instead of re-asking. Use it when the user says to remember, save, or not forget…

phuonghx/aim-cli · 86 tokens