en un clic
bye
Session closing (log, commit, push)
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Session closing (log, commit, push)
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
GitHub — repos, issues, PRs, gists, Pages, branches via API
Gmail orchestrator — triage inbox, search, draft replies in-thread
Mid-session checkpoint (log, database, commit, push) without closing
Brain package manager — install, update, list skills from registries
AI email auto-responder — monitors inbox, drafts context-aware replies, never sends without approval
Google Calendar — create, list, update, delete events
| 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-descrizione', """
## Work Done
- [bullet points]
## Time Saved
~XXmin (auto-estimate)
""", tags=['session', '{project}'], project='{project}')
Naming: YYYY-MM-DD-{project}-{descrizione}.md
Status: closed default. Se ci sono pendenze esplicite → open.
Stima tu rating 1-10 su 4 dimensioni:
Trigger azioni:
Se c'e un progetto attivo, aggiorna wiki/projects/{project}/index.md.
REGOLE DI SALVATAGGIO:
diary/YYYY/ con tag progetto, NON in index.{progetto}/issues.md, NON in index.Se la sessione ha prodotto lavoro concreto, scrivi il diary.
ls -t .claude.json.backup.* 2>/dev/null | tail -n +3 | xargs rm -f 2>/dev/null
Push sul branch corrente — niente assunzioni su main o sul nome del remote. Se serve un merge flow, lo decide l'utente del brain.
BRANCH=$(git branch --show-current)
REMOTE=$(git config "branch.${BRANCH}.remote" || echo origin)
git add -A && git commit -m "Session: {project} - {summary}
Co-Authored-By: Claude <noreply@anthropic.com>"
git push "$REMOTE" "$BRANCH"
Usa brain.sqlite nella root del brain corrente. Se non esiste, salta lo step (non e un errore — non tutti i brain hanno il time tracking).
import os, sqlite3
from datetime import datetime
# brain root = cwd o BRAIN_ROOT env
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()
# se brain.sqlite non esiste, lo step e' no-op
Verifica se restano cose in sospeso:
diary/{YYYY}/{YYYY-MM-DD}-{project}-summary.md
Pushed (3 files)
~45min saved
Earth: 8 | Water: 7 | Fire: 3 | Air: 9
Resta in sospeso:
- Verificare report Radar fasolipiante
- Budget da inviare a Fasoli
bye
/bye open → forza status: open nel log$ARGUMENTS