ワンクリックで
bye
Session closing (log, commit, push)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Session closing (log, commit, push)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Brain package manager — install, update, list skills from registries
Project-first session management — activate, create, search projects in wiki/
Mid-session checkpoint (log, database, commit, push) without closing
Devil's advocate — tear apart any idea, plan, or decision without mercy
| name | bye |
| description | Session closing (log, commit, push) |
| user-invocable | true |
| argument-hint | [open] |
Session Closer - Quick session exit
Create log via brain_writer:
from brain_writer import create_log
create_log('YYYY-MM-DD', 'project-description', """
## Work Done
- [bullet points]
## Time Saved
~XXmin (auto-estimate)
""", tags=['session', '{project}'], project='{project}')
Naming: YYYY-MM-DD-{project}-{description}.md
Status: closed by default. If there are explicit pending items → open.
Estimate yourself a 1-10 rating on 4 dimensions:
Trigger actions:
If there's an active project, update wiki/projects/{project}/index.md.
SAVING RULES:
diary/YYYY/ with project tag, NOT in index.{project}/issues.md, NOT in index.If the session produced concrete work, write the diary.
ls -t .claude.json.backup.* 2>/dev/null | tail -n +3 | xargs rm -f 2>/dev/null
git add -A && git commit -m "Session: {project} - {summary}
Co-Authored-By: Claude <noreply@anthropic.com>"
git checkout main
git merge {current-branch} --no-edit
git push origin main
Spec EWAF: wiki/tech/ewaf.md.
import os, sqlite3
from datetime import datetime
brain_root = os.environ.get('BRAIN_ROOT', os.getcwd())
db_path = os.path.join(brain_root, 'brain.sqlite')
if os.path.exists(db_path):
db = sqlite3.connect(db_path)
db.execute('''
INSERT INTO sessions (
date, session, project,
human_estimate_min, prompting_time_min, time_saved_min,
earth, water, fire, air, note
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
''', (
datetime.now().isoformat(),
session_name, project,
human_min, prompting_min, saved_min,
earth_rating, water_rating, fire_rating, air_rating,
"EWAF reasoning"
))
db.commit()
db.close()
# if brain.sqlite doesn't exist → no-op
Check if anything remains open:
log/2025/2025-01-14-project-summary.md
Pushed (3 files)
~45min saved
Earth: 8 | Water: 7 | Fire: 3 | Air: 9
Still pending:
- Verify Radar report for fasolipiante
- Send budget to Fasoli
bye
/bye open → forces status: open in the log$ARGUMENTS