session-context
Load development context at session start: git branch, uncommitted changes, CONTEXT.md / TODO.md / open issues. Use when: starting a new coding session, resuming interrupted work, or when the agent needs to orient itself quickly before acting. Inspired by: disler/claude-code-hooks-mastery session_start pattern.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-12
- Stars
- ★ 13
- Forks
- 2
01 前言 Front Matter
- name
- session-context
- description
- Load development context at session start: git branch, uncommitted changes, CONTEXT.md / TODO.md / open issues. Use when: starting a new coding session, resuming interrupted work, or when the agent needs to orient itself quickly before acting. Inspired by: disler/claude-code-hooks-mastery session_start pattern.
03 SKILL.md 正文
Session Context Skill
When to trigger
- Starting a new session
- "orient yourself", "load context", "what's the current state"
- "nhắc lại context", "tóm tắt trạng thái"
- Session start hooks firing
What to do
Step 1 — Git state
git status --short
git log --oneline -5
git branch --show-current
Report: current branch, uncommitted files, last 5 commits.
Step 2 — Context files (read if present)
CONTEXT.md— project-specific session contextTODO.md— open action itemsCLAUDE.md— agent instructionsAGENTS.md— agent entry point
Do not fail if files are missing — skip silently.
Step 3 — Session summary
Output a compact summary:
Branch: [branch-name]
Uncommitted: [N files or "clean"]
Last commit: [message]
Open todos: [count or "none found"]
Active context: [key points from CONTEXT.md or "none"]
Graceful degradation
- Missing git: skip git section, note "not a git repo"
- Missing context files: skip sections, do not error
- Never block the session — always complete with partial data if needed
Output format
Plain text, compact. Max 20 lines. No headers unless content is long.
04 同仓库更多 Skills
openai--sentry--sentry
Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.
ito-basket-compare
Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.
implementing-network-traffic-baselining
Build network traffic baselines from NetFlow/IPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly/daily traffic pattern profiling
detecting-evasion-techniques-in-endpoint-logs
Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.
implementing-microsegmentation-with-guardicore
Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.
ramdisk-tmpfs-patterns
暂无简介