context-session-end

AI behavioral guideline for autonomously detecting work session boundaries and proposing updates to current_focus.md. The AI monitors conversation flow for natural breakpoints and acts without explicit invocation.

16 stars

Best use case

context-session-end is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

AI behavioral guideline for autonomously detecting work session boundaries and proposing updates to current_focus.md. The AI monitors conversation flow for natural breakpoints and acts without explicit invocation.

Teams using context-session-end should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/context-session-end/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/tools/context-session-end/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/context-session-end/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How context-session-end Compares

Feature / Agentcontext-session-endStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

AI behavioral guideline for autonomously detecting work session boundaries and proposing updates to current_focus.md. The AI monitors conversation flow for natural breakpoints and acts without explicit invocation.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Context Session End

作業の自然な区切りをAIが自律的に検知し、current_focus.md への追記を提案する行動規範。

## 基本方針

ユーザーが「セッション終了スキルを実行して」と言う必要はない。AIは会話の流れから作業の区切りを自然に検知し、記録すべき内容があれば自分から提案する。

## 検知パターン

以下の自然な区切りを検知したら自動的に追記を提案する:

- 「ありがとう」「助かった」
- 「一旦ここまで」「今日はこれで」
- まとまった作業(複数ステップ)が一段落したとき

提案しない場合: 短い質問応答(「このSQL正しい?」→「OK」)程度の場合。

## 手順

### 1. AI作業分の要約

セッション中にAIが関与した作業を振り返り、以下を抽出:

- やったこと(コード作成、設計レビュー等)
- 決まったこと(あれば)
- 残っていること

### 2. 追記案の提示

```
📝 current_focus.md に追記しますか?

【最近あったこと】に追加:
  + [AI] CRUD API 5本作成完了
  + [AI] SQLインデックス追加

【次やること】に追加:
  + E2Eテスト作成

(はい / 修正あり / 不要)
```

### 3. Decision Log 提案(該当する場合のみ)

重要な決定があった場合のみ、1行で:

```
💡 「ページネーションをcursor方式に決定」→ Decision Logに記録しますか?
```

### 4. Tensions 更新提案(該当する場合のみ)

以下のいずれかに該当する場合のみ提案する:

新たな未解決課題が発生した場合:
```
⚠️ tensions.md に追記しますか? → {未解決課題の要約}
```

既存の tensions.md 項目が解決した場合:
```
tensions.md の「{項目名}」はこのセッションで解決しました。削除しますか?
```

### 5. 更新実行

承認後:
- current_focus.md の該当セクションに追記(既存内容は触らない)
- `[AI]` プレフィックスをつける
- 末尾の「更新」日付を更新

## ルール

- ✅ AI作業分のみ追記提案する
- ✅ 既存の人間が書いた行はそのまま残す
- ✅ `[AI]` プレフィックスで区別する
- ✅ 3-5行以内で簡潔に
- ❌ 人間が書いた行を編集・削除しない
- ❌ current_focus.md を全面書き換えしない
- ❌ 承認なしにファイルを更新しない

Related Skills

ai-context

16
from diegosouzapw/awesome-omni-skill

Generates AI IDE context files (AGENTS.md, CLAUDE.md, .cursorrules, copilot-instructions.md) from codebase analysis. Creates project-specific instructions for AI coding assistants so they understand conventions, architecture, and workflows. Use when setting up AI tool context for a repository.

_context-ack

16
from diegosouzapw/awesome-omni-skill

在每次回复中使用固定前缀并列出本次实际参考的指令/文件,便于校验是否遵循上下文与规则。

Zendesk Customer Context

16
from diegosouzapw/awesome-omni-skill

Ticket history, requester context

session-template

16
from diegosouzapw/awesome-omni-skill

Apply task-specific templates to AI session plans using ai-update-plan. Use when starting a new task to load appropriate plan structure (feature, bugfix, refactor, documentation, security).

analyzing-session-management

16
from diegosouzapw/awesome-omni-skill

Detects session management vulnerabilities including session fixation, session hijacking, and insecure cookie handling. Use when analyzing authentication sessions, cookie security, or investigating session-related vulnerabilities.

agent-context-generator

16
from diegosouzapw/awesome-omni-skill

Generate project-level AGENTS.md guides that capture conventions, workflows, and required follow-up tasks. Use when a repository needs clear agent onboarding covering structure, tooling, testing, task flow, README expectations, and conventional commit summaries.

session-decisions

16
from diegosouzapw/awesome-omni-skill

Use when user wants to extract technical decisions and deliberations from Claude Code session history for resume writing or documentation. Triggers on "의사결정 정리", "세션 결정", "이력서 소재", "resume decisions", "session decisions", "기술 의사결정", "decision log".

cdd-gather-context

16
from diegosouzapw/awesome-omni-skill

新規機能・複数ファイル変更前にコンテキスト収集

agentuity-cli-cloud-session-logs

16
from diegosouzapw/awesome-omni-skill

Get logs for a specific session. Requires authentication. Use for Agentuity cloud platform operations

agentuity-cli-cloud-session-get

16
from diegosouzapw/awesome-omni-skill

Get details about a specific session. Requires authentication. Use for Agentuity cloud platform operations

using-context7-for-docs

16
from diegosouzapw/awesome-omni-skill

Use when researching library documentation with Context7 MCP tools for official patterns and best practices

Tero Voice Project Context

16
from diegosouzapw/awesome-omni-skill

Load full project context, tech stack, status, and guidelines for the AI Receptionist SaaS project