agentleFS
jiten-singh-shahijiten-singh-shahi/salesforce-claude-code/.cursor/skills/sessions/SKILL.md

sessions

Skill17 starsChanged 8 months agoMITView on GitHub

Use when managing Salesforce Claude Code session history. List, load, alias, and inspect saved Apex and org development sessions stored in ~/.claude/sessions/.

15 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use learn, plan and 2 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • genomewalkerSkill

    learn

    Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.

    Also in 4 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 3 projects that use this

  • AnthropicSkill

    verify

    Drive the contracts engine's runtime surface (the stdio MCP server) to verify changes end-to-end. Scoped to public-plugins/plugins/healthcare/skills/contracts/ and ../../servers/documents/.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a memorable alias for a session.

    line 52
  2. Distinctive:

    Delete an existing alias.

    line 61
  3. Distinctive:

    Use aliases for frequently referenced sessions

    line 124

“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Sessions — Session History Management

Manage Claude Code session history - list, load, alias, and inspect sessions stored in ~/.claude/sessions/.

When to Use

  • Listing all saved sessions to find a specific one
  • Loading a previous session by ID, date, or alias
  • Creating memorable aliases for frequently referenced sessions
  • Inspecting session metadata and statistics
  • Managing session aliases (create, remove, list)

Usage

/sessions [list|load|alias|info|aliases|help] [options]

/sessions help shows this usage guide.

Actions

List Sessions

Display all sessions with metadata, filtering, and pagination.

/sessions                              # List all sessions (default)
/sessions list                         # Same as above
/sessions list --limit 10              # Show 10 sessions
/sessions list --date 2026-03-18       # Filter by date
/sessions list --search apex           # Search by session ID

Load Session

Load and display a session's content (by ID or alias).

/sessions load <id|alias>             # Load session
/sessions load 2026-03-18             # By date
/sessions load apex-trig              # By short ID
/sessions load my-alias               # By alias name

Create Alias

Create a memorable alias for a session.

/sessions alias <id> <name>           # Create alias
/sessions alias 2026-03-18 trigger-work

Remove Alias

Delete an existing alias.

/sessions alias --remove <name>        # Remove alias
/sessions unalias <name>               # Same as above

Session Info

Show detailed information about a session.

/sessions info <id|alias>              # Show session details

List Aliases

Show all session aliases.

/sessions aliases                      # List all aliases

Arguments

  • list [options] - List sessions
    • --limit <n> - Max sessions to show (default: 50)
    • --date <YYYY-MM-DD> - Filter by date
    • --search <pattern> - Search in session ID
  • load <id|alias> - Load session content
  • alias <id> <name> - Create alias for session
  • alias --remove <name> - Remove alias
  • unalias <name> - Same as --remove
  • info <id|alias> - Show session statistics
  • aliases - List all aliases
  • help - Show this help

Examples

# List all sessions
/sessions list

# Create an alias for today's session
/sessions alias 2026-03-18 trigger-work

# Load session by alias
/sessions load trigger-work

# Show session info
/sessions info trigger-work

# Remove alias
/sessions alias --remove trigger-work

# List all aliases
/sessions aliases

Notes

  • Sessions are stored as markdown files in ~/.claude/sessions/
  • Session IDs can be shortened (first 4-8 characters usually unique enough)
  • Use aliases for frequently referenced sessions

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.