Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
parcadei avatar

Explicit Identity

  • 460 installs
  • 3.9k repo stars
  • Updated January 26, 2026
  • parcadei/continuous-claude-v3

explicit-identity is a Claude Code agent pattern skill that requires passing explicit UUIDs and session IDs across process and async boundaries for developers orchestrating multi-step agent pipelines without race conditi

About

explicit-identity is a non-user-invocable Claude Code skill teaching the Explicit Identity Across Boundaries pattern. It instructs agents never to rely on "latest" or "current" identifiers when crossing process or async boundaries because most-recent lookups are race conditions. Developers pass `--session-id $ID` when spawning processes, store IDs in state files for later correlation, use full UUIDs instead of partial matches, and keep different ID types separate rather than collapsing concepts. The skill lists anti-patterns such as querying for the most recent session at execution time or assuming context survives after await or spawn. Use explicit-identity when building Continuous Claude-style multi-agent handoff pipelines where session, task, and process IDs must remain stable.

  • explicit-identity

Explicit Identity by the numbers

  • 460 all-time installs (skills.sh)
  • +2 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #926 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/parcadei/continuous-claude-v3 --skill explicit-identity

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs460
repo stars3.9k
Last updatedJanuary 26, 2026
Repositoryparcadei/continuous-claude-v3

How do you pass session IDs across agent spawns?

Use explicit-identity for development tasks

Who is it for?

Developers building multi-agent Claude Code pipelines with process spawns, async awaits, and handoff files that must stay correlated.

Skip if: Single-turn chat sessions or scripts with no process boundaries where implicit current context is sufficient.

When should I use this skill?

Agent orchestration crosses spawn or await boundaries and code risks using latest session, partial IDs, or collapsed identifier types.

What you get

Correlated agent pipelines with explicit UUIDs in spawn commands, state files, and handoff documents free of latest-session races.

  • Correlated session IDs in spawn commands
  • State files with explicit UUID references

Files

SKILL.mdMarkdownGitHub ↗

Explicit Identity Across Boundaries

Never rely on "latest" or "current" when crossing process or async boundaries.

Pattern

Pass explicit identifiers through the entire pipeline. "Most recent" is a race condition.

DO

  • Pass --session-id $ID when spawning processes
  • Store IDs in state files for later correlation
  • Use full UUIDs, not partial matches
  • Keep different ID types separate (don't collapse concepts)

DON'T

  • Query for "most recent session" at execution time
  • Assume the current context will still be current after await/spawn
  • Collapse different ID types:
  • session_id = Claude Code session (human-facing)
  • root_span_id = Braintrust trace (query key)
  • turn_span_id = Braintrust turn within session

Example

// BAD: race condition at session boundaries
spawn('analyzer', ['--learn'])  // defaults to "most recent"

// GOOD: explicit identity
spawn('analyzer', ['--learn', '--session-id', input.session_id])

Source Sessions

  • 1c21e6c8: Defined session_id vs root_span_id distinction
  • 6a9f2d7a: Fixed wrong-session attribution via explicit passing
  • a541f08a: Confirmed pattern prevents race at session boundaries

Related skills

FAQ

What problem does explicit-identity solve?

explicit-identity prevents race conditions when agents cross process or async boundaries by requiring explicit UUIDs and session IDs. The pattern rejects most-recent session queries and partial ID matches that break multi-step handoff correlation.

What should developers do per explicit-identity?

Per explicit-identity, developers pass `--session-id $ID` on spawns, persist full UUIDs in state files, keep ID types separate, and never assume current context survives await or spawn operations in orchestrated pipelines.

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.