Skip to content
Back to skills

Session Startup

ASecurity

Obligatory sequence at session start: read AGENTS.md, load phase skills, check memory, run tests and present a plan.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 23, 2026
ai-agentsgitdocumentation

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add cedaniel200/atlas-template --skill session-startup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Session Startup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Session Startup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cedaniel200-session-startup/badge)](https://www.skillsdirectory.com/skills/cedaniel200-session-startup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: session-startup
description: "Obligatory sequence at session start: read AGENTS.md, load phase skills, check memory, run tests and present a plan."
license: MIT
---

# Session startup

> The operational contract lives in `AGENTS.md`. This skill is the procedure.

## Steps (in order)

1. **Read `AGENTS.md`** — it is the entry point. If `## Commands`, `## Structure` or
   `## Do Not Touch` are missing, stop and ask to complete them.
2. **Check the bootstrap state** — if `.atlas/state.json` exists and `status` is `pending`, run
   `.atlas/BOOTSTRAP.md` before anything else.
3. **Resolve the OpenSpec command preference** — read it from `AGENTS.md` (§ Preferences):
   - `user` or `agent`: no question.
   - `ask`: ask once at session start: *"Do I run the OpenSpec commands this session, or do you?"* and
     apply the answer to this session only.

   Combine it with the orchestration question if both are needed. `archive` and `sync` always require
   explicit approval.
4. **Load the phase skills** from the Skill Registry in `AGENTS.md`. Do not load skills from packs
   that are not activated.
5. **Review the previous session** — if persistent memory is configured, retrieve the context. If not,
   inspect the repo state (`git status`, `git log -5`).
6. **Run the tests** with the command declared in `AGENTS.md` (`## Commands`). They must be green
   before writing code.
7. **Present a plan to the user** before touching code.

## Workspace check (two phases)

**Phase 1 — at startup.** Report the current branch, whether the working directory is a worktree and
the active change. Informing creates nothing and asks nothing.

**Phase 2 — before the first write** (a change artifact, code, a QA report or documentation).
Recheck the branch. If it is the base branch, isolate the change with the `using-git-worktrees` skill or
stop and ask the human. A session that starts in read-only mode still repeats this check before it
writes.

## If something is missing

| Missing | Action |
|---|---|
| Test command | Ask; never invent one |
| "Do not touch" rules | Ask before editing |
| Bootstrap pending | Run the ritual first |
| Red tests | Report and do not proceed |
| Writing on the base branch | Isolate or stop; never write on it |

## Role announcement

When switching roles, announce it as `🎩 Ahora soy <rol>` before acting.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.