/h2t-core:session-startfrom h2t-core
Use at the start of any working session (dev, creative, personal). Triggers on 'start session', 'начинаем', 'новая сессия'. Do not invoke again while already executing session-start.
Ships in h2t-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
⚠️ If you are already executing the session-start pipeline, STOP. Do NOT invoke this skill again. Return to the pipeline you were following.
Run this before any other command of this skill:
h2t-ops version --expect 4.1.3 --json
Act on the result, in this order:
"ok": true — continue."ok": false — show the user error.hint as it is and stop this skill until
it is resolved. Do not run anything the hint names unless the user asks you to: on
reason: path it is a command for the user to decide on. error.details.reason names the
case: not_installed, version or path.command not found — read ~/.h2t/run/install.env
(grep -E '^(STATE|H2T_HOOK)=' ~/.h2t/run/install.env). With STATE=ready the install
is fine and PATH does not reach it: show the directory of the H2T_HOOK= path, ask the
user to restart the harness, and offer uv tool update-shell for them to run. Without
it there is no install: give the user uvx --isolated --python 3.12.11 --managed-python -c "https://github.com/lichtpfad/h2t-skills/releases/download/v4.1.3/constraints.txt" --from "h2t-ops @ https://github.com/lichtpfad/h2t-skills/releases/download/v4.1.3/h2t_ops-4.1.3-py3-none-any.whl" h2t-setup sync.uvx --isolated --python 3.12.11 --managed-python -c "https://github.com/lichtpfad/h2t-skills/releases/download/v4.1.3/constraints.txt" --from "h2t-ops @ https://github.com/lichtpfad/h2t-skills/releases/download/v4.1.3/h2t_ops-4.1.3-py3-none-any.whl" h2t-setup sync.command -v h2t-gather >/dev/null 2>&1 || {
echo "ERROR: h2t-gather not found. Act on outcome 3 of the Version check above."
exit 1
}
command -v h2t-activity-log >/dev/null 2>&1 || {
echo "ERROR: h2t-activity-log not found. Act on outcome 3 of the Version check above."
exit 1
}
Check your system context first. The PreToolUse hook may have already run gather and injected data as:
BRIEFING:
<briefing text>
GATHER_META: <json>
Use that briefing only if it is fresh and for this directory: its GATHER_META JSON
has cwd equal to the current working directory and at (ISO-8601 with offset) no more
than 120 s before now. Compare against the output of:
pwd; date +%Y-%m-%dT%H:%M:%S%z
A briefing for another directory, an older one, or one without cwd/at (a 3.x hook) is
not this session's: ignore it. In Codex no hook runs at all, so there is never a briefing
in context — the command below is the only path there.
If the briefing passes the rule:
BRIEFING:\n and \n\nGATHER_META: as _briefingGATHER_META JSON as GATHER_RESULT._metaGATHER_META.project, GATHER_META.sessions, GATHER_META.machine fieldsh2t-gather — data is already collectedOtherwise run:
h2t-gather --cwd "$(pwd)" --briefing-only
This prints the same BRIEFING: / GATHER_META: format the hook injects — parse it
exactly as above (text between BRIEFING:\n and \n\nGATHER_META: → _briefing;
GATHER_META JSON → GATHER_RESULT._meta, with .project / .sessions / .machine).
⛔ The output is already in your context. Read _briefing and the GATHER_META fields
directly from it. Do NOT pipe, grep, Select-String, jq, or run python/h2t-python
on it — those are a Windows cp1252 / wrong-shell trap and produce nothing the plain output
doesn't already give you. One command, then read.
⛔ STRICT: Copy the briefing text EXACTLY as-is. Zero additions.
Display _briefing verbatim.
If _briefing is missing: show GATHER_ERROR — no briefing in output. Check plugin version.
Do not read handoff markdown by default.
The briefing already includes a bounded ### Previous Session section when
GATHER_RESULT.latest_session is available. Full handoff markdown is archival
context and may be read only if the user explicitly asks for details.
If GATHER_RESULT.sessions is non-empty but GATHER_RESULT.latest_session is
missing, show one short line:
Есть архивные handoff-файлы, но нет bounded latest summary. Продолжаю без чтения markdown.
If both are empty: skip this step silently.
Active autonomous-run check (spec autonomous-run § Resume trigger, mechanism-1) — run
this separately from the verbatim briefing, so an unfinished run resumes across compaction:
_RB=$(ls -t docs/superpowers/plans/*-runbook.md 2>/dev/null | head -1)
[ -n "$_RB" ] && grep -q '^- \[ \] \*\*' "$_RB" && echo "ACTIVE_RUNBOOK: $_RB"
If it prints ACTIVE_RUNBOOK: <path>, surface exactly one line and offer to resume:
Незавершённый автономный прогон: <path> → autonomous-run resume <path>. Otherwise skip.
Propose session name in this exact format:
Имя сессии: `{domain}-{project}-{topic}-YYYY-MM-DD`
Пример: `dev-my-project-skill-refactor-2026-04-03`
Replace {topic} with 1-2 word summary of most likely work direction from context.
Wait for user input. Accept:
y / да / ok / . → use the proposed name as-isDo NOT proceed to Step 5 until user responds.
Substitute literal values from GATHER_RESULT and run:
h2t-activity-log start \
--session-id "<SESSION_NAME>" \
--domain "<DOMAIN>" \
--project "<PROJECT_ID>"
Where:
<SESSION_NAME> = confirmed session name from Step 4<DOMAIN> = GATHER_RESULT.project.domain<PROJECT_ID> = GATHER_RESULT.project.idIf GATHER_RESULT.project.registered is false or null: invoke h2t-core:init-project.
Otherwise: skip this step.
Show exactly:
✓ Сессия: {SESSION_NAME}
✓ Контекст загружен ({N} issues, {branch})
Что делаем?
Fill N and branch from GATHER_RESULT.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lichtpfad/h2t-skills --plugin h2t-core11 skills in this plugin
/agent-profileProject-scoped Claude plugin profile manager. Apply base profiles (dev, pos, ops, creative, dcc, product, marketing, mixed) and work contexts to control which plugins load per repo. Supports profile:name and overlay:name explicit refs plus bare-name legacy compat. Triggers: "agent-profile", "apply profile", "plugin profile", "set profile", "configure plugins", "профиль плагинов", "конфигуратор профиля".
/autonomous-runLaunch or resume an autonomous, unattended plan-execution run after brainstorm is complete. Generates a durable, self-contained runbook artifact, materializes a TodoWrite mirror of the pipeline, and carries the decision + gate protocols through to handoff. Use for "работай сам", "автономно", "overnight", "выполни план сам", "autonomous run", "resume runbook"./Other plugins' skills for the same job