بنقرة واحدة
session-goal
Pin session objectives to prevent scope creep. Use for alignment across long multi-agent sessions.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Pin session objectives to prevent scope creep. Use for alignment across long multi-agent sessions.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Tool-agnostic search — query construction, tool selection, source trust hierarchy.
Auto-continue through todos with idle detection and safety gates. Use for multi-step orchestration.
Level 2 — Pantheon-native context compression with priority scoring, semantic summarization, downstream-aware compression, budget allocation, and cross-references
Automated visual review pipeline — Playwright screenshots, self-analysis, fix loop, escalation. Used by Aphrodite for UI verification.
Multi-agent orchestration with model routing, category delegation, and sprint management. Use for coordinating Pantheon agents.
MCP security hardening — credential leakage prevention, input sanitization, and tool access control. Use for reviewing agent MCP configurations.
| name | session-goal |
| description | Pin session objectives to prevent scope creep. Use for alignment across long multi-agent sessions. |
| context | fork |
| globs | [] |
| alwaysApply | false |
Use this skill to pin a session objective at the start of a long or complex session. All subsequent todos, delegation decisions, and verification steps must align with the pinned goal.
Invoke via the /focus command:
/focus Implement JWT authentication with refresh token rotation
Or state it explicitly at the start of a session:
SESSION GOAL: Add product review feature with backend, frontend, and database layers.
All work in this session must serve this goal.
A good session goal has 4 components:
GOAL: <What to build>
SCOPE: <Which layers/modules are in scope>
SUCCESS CRITERIA: <How we know it's done>
OUT OF SCOPE: <What to explicitly exclude>
Example:
GOAL: Add email verification to the registration flow
SCOPE: Backend (POST /auth/verify, token model), Frontend (VerifyEmail page), DB (verification_tokens table)
SUCCESS CRITERIA: User can register, receive a verification email link, click it, and have their account marked as verified. All layers tested >80% coverage.
OUT OF SCOPE: Password reset, 2FA, email template design
Before each major delegation or decision, run this quick check:
"Does this task directly serve the pinned goal?"
- Yes → proceed
- Partial → flag the out-of-scope portion and ask for clarification
- No → defer to a future session, note it as a separate task
For goals that span multiple sessions, write the goal to /memories/session/:
/memories/session/current-goal.md
# Active Session Goal
Goal: Implement JWT authentication
Started: 2026-05-15
Status: Phase 2 of 3 (backend done, frontend in progress)
Next: POST /auth/refresh endpoint
This ensures the goal survives context compaction and session restarts.
Never silently drift from the goal — always confirm with the user before changing it.
Reuse agent sessions between related delegations to avoid re-reading files and re-building context.
Prefer reusing an existing session when:
Force a new session when:
When dispatching a follow-up task, include the session reuse context explicitly:
@hermes — continuing the auth endpoint work from the previous session.
Files already explored: backend/routers/auth.py, backend/services/auth_service.py.
New task: add refresh token rotation.
Zeus tracks active sessions with a task_id per delegation:
| Agent | Active Session | Files in Context | Max Age |
|---|---|---|---|
| hermes | ses_abc123 | 4 files | 15 min |
| aphrodite | ses_def456 | 3 files | 15 min |
When session_max: 2 is set in routing.yml, Zeus keeps the last 2 sessions for that agent and discards older ones. This prevents stale context from accumulating.