cc-sessions-core

Guide cc-sessions framework development with hooks, sessions, tasks, middleware, and API endpoints.

2|Updated Nov 15, 2025
One-click install
npx skills add https://github.com/grandinh/claude-chaos-express --skill cc-sessions-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cc-sessions-core
Source: https://github.com/grandinh/claude-chaos-express/tree/main/.claude/skills/cc-sessions-core
Command: npx skills add https://github.com/grandinh/claude-chaos-express --skill cc-sessions-core

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developing and maintaining the core of the cc-sessions framework (hooks, sessions, tasks, middleware, API) can be complex and error-prone. This Skill streamlines the process, ensuring adherence to DAIC discipline and framework integrity.

Core Features & Use Cases

  • Framework Core Development: Guides implementation of new cc-sessions features, ensuring DAIC discipline and write-gating enforcement.
  • Hook & API Development: Provides patterns and best practices for creating hooks and API endpoints within the framework.
  • Task Management: Assists with implementing task creation, state transitions, and recovery mechanisms for cc-sessions tasks.
  • Use Case: When you need to extend the core cc-sessions framework with a new session lifecycle hook, this Skill provides the necessary guidance and ensures compliance with framework safety protocols.

Quick Start

Develop a new hook for validating task manifests within the cc-sessions framework.

Frequently Asked Questions about cc-sessions-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement hooks for session state management in cc-sessions?

Hooks in cc-sessions manage session lifecycle events and state transitions. The Skill provides patterns for creating hooks under DAIC discipline, including validation, persistence, and error handling, ensuring framework integrity and write-gating enforcement throughout the session workflow.

What's the process for building API endpoints and tasks in a cc-sessions framework?

Create API routes and tasks by implementing endpoints with proper middleware, error handling, and logging. The Skill guides end-to-end construction including manifest handling, state management, and comprehensive testing and changelog documentation for controlled write operations.

How do I enforce DAIC discipline when extending cc-sessions core?

DAIC discipline ensures controlled writes and SoT boundary preservation in framework development. Apply strict write-gating, implement validation across hooks and middleware, maintain manifest integrity, and document changes—the Skill enforces these protocols automatically during core feature implementation.

Can I use cc-sessions for task recovery and state persistence?

Yes. cc-sessions supports task creation, state transitions, and recovery mechanisms with persistent state storage. The Skill provides guidance for implementing resilient task management, ensuring proper logging and error handling so tasks survive failures and resume correctly.

What middleware and validation patterns does cc-sessions require?

Middleware in cc-sessions enforces security, validation, and routing across API endpoints. The Skill covers middleware implementation, request validation, and error handling patterns that comply with framework safety protocols and maintain consistent behavior across hooks and routes.

Do I need prior framework development experience to use cc-sessions?

Intermediate implementation depth means familiarity with API development, hooks, and state management is helpful but not required. The Skill provides best practices and patterns for framework core work, guiding both new and experienced developers through DAIC-compliant development.