Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Session Hub

ASecurity

Continue work the user did in another coding agent. Use when they refer to a conversation that is not in this transcript ("continue what I did in Codex", "the session where we fixed X", "what was I doing in this repo") or when they assume context you do not have. Finds sessions across Claude Code, Codex, OpenCode, Crush, JCode and Pi, brings one into this conversation, or gives the command that reopens it where it lives.

2 stars
0 votes
0 copies
0 views
Added 9/22/2026
ai-agentsbashnode

Works with

claude codeclimcp

Security Analysis

A100/100

Scanned 9/22/2026

Install to Claude Code

$npx -y skills add Gateton/session-hub --skill session-hub --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Session Hub?

Add the live security badge to your README — it updates automatically with every re-scan.

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

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: session-hub
description: Continue work the user did in another coding agent. Use when they refer to a conversation that is not in this transcript ("continue what I did in Codex", "the session where we fixed X", "what was I doing in this repo") or when they assume context you do not have. Finds sessions across Claude Code, Codex, OpenCode, Crush, JCode and Pi, brings one into this conversation, or gives the command that reopens it where it lives.
when_to_use: The user mentions work done elsewhere, another agent by name, a session or conversation they cannot see here, or asks what they were doing in a project. Also useful when they ask you to resume something you have no context for.
allowed-tools:
  - mcp__plugin_session-hub_hub__search
  - mcp__plugin_session-hub_hub__context
  - mcp__plugin_session-hub_hub__native
  - Bash(node ${CLAUDE_PLUGIN_ROOT}/scripts/hub-cli.mjs *)
---

# session-hub

Other coding agents have been used on this machine, and so has Claude Code in other
projects. session-hub indexes all of those sessions (Claude Code, Codex, OpenCode,
Crush, JCode, Pi) so the user can bring one here instead of re-explaining it.

Injection is explicit and always the user's call. Find the session, show them the
cost, and let them decide. Nothing is imported behind their back.

## When to reach for it

- "Continue what I was doing in Codex / OpenCode / Crush / JCode / Pi."
- "The session where we fixed the auth bug" / "that conversation about the parser".
- "What was I doing in this repo?" when this transcript does not answer it.
- The user assumes context you do not have and mentions another agent or another project.

Not for this conversation: what happened here is already in front of you.

## How

MCP tools are `mcp__plugin_session-hub_hub__search`, `..._context`, `..._native`.

1. **Find it.** `search` with `{"query": "auth bug", "dir": "/path/to/project"}`.
   With a query and no `dir`, every project is searched. With no query and no
   `dir`, the current project is listed, which answers "what was I doing in this
   repo". Pass `{"dir": "/some/other/project"}` for another project, or
   `{"harness": "codex"}` to restrict to one agent.
2. **Show the user the matches** with their harness, project, date and message count,
   then ask which one. Do not guess on their behalf.
3. **Bring it in**, one of two ways:
   - `context` with `{"uid": "<uid>"}`: the transcript arrives in this turn and costs
     tokens now. Use it when they want it immediately.
   - `pick <uid> --chars 40000` through the CLI: it arrives with their **next**
     message, so they can keep working first. Nothing is sent until then. They can
     cancel with `pending --clear`.
     Say the cost before injecting: the default is 40,000 characters (~10k tokens);
     lower `--chars` when context is tight. `--note "why"` puts their reason in the block.
4. **Reopening instead.** `native` with a uid returns the verified command that reopens
   that session in the agent that owns it (`codex resume <id>` and so on). If it answers
   `"action": null`, the hub has no verified command for that session: say so and stop.
   Never type a resume command the hub did not verify.

## When the tools are not there

Run the same subcommands through the bundled CLI instead:

```
node ${CLAUDE_PLUGIN_ROOT}/scripts/hub-cli.mjs search "auth bug" --json
node ${CLAUDE_PLUGIN_ROOT}/scripts/hub-cli.mjs context <uid> --chars 20000 --json
node ${CLAUDE_PLUGIN_ROOT}/scripts/hub-cli.mjs pick <uid> --chars 20000 --note "why"
node ${CLAUDE_PLUGIN_ROOT}/scripts/hub-cli.mjs native <uid> --json
node ${CLAUDE_PLUGIN_ROOT}/scripts/hub-cli.mjs here --json      # sessions of this project, every harness
```

stdout is the payload, stderr is diagnostics, `--json` everywhere.

If it answers that the hub cannot be found, tell the user exactly this: run
`sessionhub setup`, or set `SESSION_HUB_ROOT` to the directory that contains
`bin/sessionhub.mjs` and `mcp/server.mjs`. Do not try to work around it.

Attribution

GatetonGateton
View sourceMore from Gateton →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

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

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1066601 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

651 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →