manastalukdar/ai-devstudio

sessions-init

Organize and synchronize session directory structure based on project architecture

First seen Feb 21, 2026

Installation

$ npx skills add manastalukdar/ai-devstudio --skill sessions-init

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from manastalukdar/ai-devstudio · top by installs.

npx skills add manastalukdar/ai-devstudio

Browse all from manastalukdar/ai-devstudio

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License LICENSE
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,766 B
  • docs SUMMARY.md 103 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 9 installs

SKILL.md

Procedure for Organizing Claude Session Directories:

  1. Analyze the Project

- Perform a thorough analysis of the project's codebase and overall architecture to understand its components.

  1. Define the Directory Structure

- Based on your analysis, create a flat or hierarchical list of the project's key features and product areas. This list will serve as the blueprint for your session directory structure.

  1. Synchronize Directories in .claude/sessions

Once you have the ideal structure defined, navigate to the .claude/sessions directory and perform the following actions: - Reconcile Existing Directories: Compare the current sub-directories against your new blueprint. - Rename, move, or delete existing directories to match the new structure. - Relocate session files from any old or incorrect directories into their proper new locations. - Create New Directories: For any features or areas in your blueprint that do not yet have a corresponding directory, create them now.

  1. Ensure Directory Persistence

- In any sub-directory that is empty (whether newly created or after moving files), add a .gitkeep file. This ensures the directory structure is committed to version control.

  1. Add or update .claude/sessions/README.md as relevant.

Token Optimization

Expected range: 100–400 tokens (initial), 50 tokens (already initialized)

Caching: Caches init state in .claude/sessions/.init_cache.json for 7 days.

Early exit: Returns immediately if session tracking is already initialized.

Patterns used: Grep-before-Read, early exit, caching