session

session is a skill for Claude Code, Codex from jmagly/aiwg. It costs 24 tokens per session (940 once invoked), scanned A, original, MIT.

A session launcher that runs health checks, repairs detected problems, can add configured MCP servers, and starts a selected coding-agent provider. MCP servers are external tools that an agent can use.

In plain words
What is it for?
Use it to start a normal, fresh, or provider-specific agent session, optionally with MCP servers, or to skip automatic repairs.
Why use it?
It prepares the environment before the agent starts, helping catch setup or deployment problems first.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions OpenCode.

Good fit Use it to start a normal, fresh, or provider-specific agent session, optionally with MCP servers, or to skip automatic repairs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jmagly/aiwg/session
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jmagly/aiwg --skill session
Clone the repo
git clone --depth 1 https://github.com/jmagly/aiwg

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for session

README.md
[![agentmods](https://agentmods.dev/badge/skills/jmagly/aiwg/session/github.svg)](https://agentmods.dev/skills/jmagly/aiwg/session)
Your own site
<a href="https://agentmods.dev/skills/jmagly/aiwg/session"><img src="https://agentmods.dev/badge/skills/jmagly/aiwg/session/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for session

Your own site · 80×15
<a href="https://agentmods.dev/skills/jmagly/aiwg/session"><img src="https://agentmods.dev/badge/skills/jmagly/aiwg/session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 940 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.00940
Opus 5 $0.00012 $0.00470
Sonnet 5 $0.00005 $0.00188
Haiku 4.5 $0.00002 $0.00094

Measured 3d ago against content hash d7a482179ea6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

session scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agentic/code/addons/aiwg-utils/skills/session/SKILL.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AIWG Session

Start a fully-prepared agentic session. Pre-flight checks run automatically: version currency, health diagnostics, and deployment verification. Issues are auto-repaired before launch. Pass mcp to inject configured MCP servers into the provider config first.

For past conversations, cross-provider timelines, or catalog queries, use aiwg show skill session-explore. The plural aiwg sessions namespace manages history; this skill launches a new provider session.

Triggers

Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):

  • "start a session" → aiwg session
  • "launch claude" → aiwg session --provider claude
  • "start with mcp" → aiwg session mcp
  • "start fresh" → aiwg session (triggers full pre-flight)
  • "launch codex" → aiwg session --provider codex

Trigger Patterns Reference

Pattern Example Action
Default launch "start a session" aiwg session
Explicit provider "launch with codex" aiwg session --provider codex
With MCP "start with my MCP servers" aiwg session mcp
MCP + provider "launch cursor with MCPs" aiwg session mcp --provider cursor
Skip repair "just launch, skip checks" aiwg session --no-repair

Behavior

When triggered:

  1. Resolve provider: --provider flag → project config providers[0] → user config → claude

  2. Pre-flight (auto-repair enabled by default):

    • Version check — updates aiwg if stale
    • Health check (aiwg doctor) — auto-repairs fixable issues
    • Deployment check — redeploys missing framework files
    • If repair fails: offers full reinstall + redeploy
    • If unresolvable: surfaces aiwg feedback --type bug
  3. MCP inject (when mcp subcommand is used):

    aiwg mcp inject --provider <provider>
    
  4. Launch:

    • Spawnable providers (claude, codex, opencode): launches the binary directly
    • IDE providers (cursor, windsurf, copilot, factory, warp): prints ready instructions

Read the full file on GitHub · 122 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +3 lines d7a482179ea6
  2. 7d ago First seen · 119 lines · 24 tokens per session scan A 1397dd3021bb

Subscribe to this mod's changes

session is a skill published in the GitHub repository jmagly/aiwg (211 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 940 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

memstack-automation-n8n-workflow-builder

Use this skill when the user says 'n8n workflow', 'build a workflow', 'automation workflow', 'connect services', or needs visual workflow design with node mapping, data transformations, and error handling for n8n. Do NOT use for standalone webhook endpoints or cron jobs.

cwinvestments/memstack · 68 tokens

session-save

Save the current session state (decisions, modified files, current status, and next steps) to a handoff file for later resume.

FlorianBruniaux/claude-code-ultimate-guide · 31 tokens

overheard

Find commitments the user made in the last two weeks and did not follow through on. A promises audit.

ghostwright/phantom · 24 tokens

find-plugin-file

This skill should be used when needing to locate files within the Claude Code plugins cache directory (/.claude/plugins/cache). Triggers include finding tool scripts, skill files, or any plugin resource when the hardcoded path is unknown or varies by plugin version. Use when slash commands or orchestrators need to…

closedloop-ai/claude-plugins · 70 tokens

atelier-orchestrator

Skill routing and workflow orchestration. Selects Inline Plan or Spec-backed Plan, routes to the correct workflow skill, and manages transitions between phases. Use when starting any conversation or task to determine which planning mode and skill apply.

martinffx/atelier · 52 tokens

tokenhabit

A coaching tool that finds habits in past coding-agent conversations that waste tokens, the text units used to process requests and responses, and suggests ways to reduce that waste.

epoko77-ai/tokenhabit · 371 tokens