Back to Skills

moai-session-info

modu-ai
Updated Yesterday
32 views
424
78
424
View on GitHub
Designai

About

The moai-session-info skill provides comprehensive project and session overviews including Git status, SPEC progress, version details, and system resources. Use it when starting new sessions, checking project status, or when users ask "what's the status" or "where are we." It automatically loads on session start or when explicitly requested to give developers complete project context.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/modu-ai/moai-adk
Git CloneAlternative
git clone https://github.com/modu-ai/moai-adk.git ~/.claude/skills/moai-session-info

Copy and paste this command in Claude Code to install this skill

Documentation

Session Information Provider

Skill Metadata

FieldValue
Version1.0.0
TierAlfred (Session Management)
Auto-loadOn session start or when status requested
PurposeProvide comprehensive project and session overview

What It Does

Comprehensive session and project information provider that gives users complete context about their current MoAI-ADK project state, including Git status, SPEC progress, version information, and system resources.

Core capabilities:

  • ✅ Project metadata and configuration display
  • ✅ Git repository status and commit history
  • ✅ SPEC progress tracking and completion metrics
  • ✅ Version information and update availability
  • ✅ System resource monitoring
  • ✅ Checkpoint status and restoration options
  • ✅ Session metrics and handoff information

When to Use

  • ✅ When starting a new Claude Code session
  • ✅ When checking project status and progress
  • ✅ Before making significant changes or commits
  • ✅ When users ask "what's the status", "show project info", "where are we"
  • ✅ When reviewing project context and history
  • ✅ Before running /alfred commands

Core Information Categories

1. Project Overview

🗿 Project: MoAI-ADK
📁 Location: /Users/goos/MoAI/MoAI-ADK
🌍 Language: 한국어 (Korean)
🔧 Mode: Team (GitFlow)
⚡ Toolchain: Python optimized

2. Version Information

📦 Current: v0.15.2
🆓 Update Available: v0.16.0
⬆️  Upgrade Command: pip install --upgrade moai-adk
📝 Release Notes: https://github.com/moai-adk/moai-adk/releases/tag/v0.16.0

3. Git Repository Status

🌿 Branch: develop (3 commits ahead of main)
📝 Changes: 5 modified, 2 added
🔨 Last Commit: feat: Complete skill consolidation (2 hours ago)
📊 Commit Hash: a1b2c3d

4. SPEC Progress

📋 Total SPECs: 15
✅ Completed: 12 (80%)
⏳ In Progress: 2
📝 Pending: 1
📊 Completion Rate: 80%

5. System Resources

🧠 Memory Usage: 2.4GB / 16GB (15%)
💾 Disk Space: 45GB free
🔄 CPU Usage: 12%
⚡ Session Duration: 45 minutes

6. Available Checkpoints

🗂️  Checkpoints: 3 available
   📌 auth-system-implementation (30 min ago)
   📌 skill-consolidation (2 hours ago)
   📌 feature-branch-workflow (yesterday)
↩️  Restore: /alfred:0-project restore

Quick Start Commands

Basic Status Check

# Simple project overview
Skill("moai-session-info")

Detailed Status with Metrics

# Comprehensive status with all details
Skill("moai-session-info")
# Response includes all categories above

Before Major Operations

# Always check status before:
# - /alfred:1-plan (planning new features)
# - /alfred:2-run (implementing changes)
# - git operations (commits, merges)

Skill("moai-session-info")
# Review status, then proceed with operation

Information Sources

The skill gathers information from multiple sources:

Project Configuration

  • .moai/config.json - Project settings and language
  • pyproject.toml - Package version and dependencies
  • .git/ - Repository status and history

SPEC Tracking

  • .moai/specs/ - SPEC documents and completion status
  • SPEC metadata - Progress tracking and milestones

System Resources

  • psutil - Memory and CPU usage
  • File system - Disk space and project size
  • Session metrics - Current session duration

Version Information

  • Package registries - Latest available versions
  • GitHub releases - Release notes and changelogs

Status Message Format

The skill generates structured status messages with consistent formatting:

🚀 MoAI-ADK Project Status

📋 Project Overview
   🗿 Project: {project_name}
   📁 Location: {project_path}
   🌍 Language: {language}
   🔧 Mode: {git_mode}

📦 Version Information
   📦 Current: {current_version}
   {update_information}
   📝 Release Notes: {release_url}

🌿 Git Repository
   🌿 Branch: {branch} ({commit_hash})
   📝 Changes: {file_changes}
   🔨 Last: {last_commit_message}

📊 SPEC Progress
   📋 Total: {total_specs}
   ✅ Completed: {completed_specs} ({percentage}%)
   ⏳ In Progress: {in_progress_specs}

🧠 System Resources
   🧠 Memory: {memory_usage}
   💾 Disk: {disk_space}
   ⚡ Session: {session_duration}

🗂️  Checkpoints
   {checkpoint_list}
   ↩️  Restore: /alfred:0-project restore

Integration with Alfred Commands

This skill is automatically invoked by:

SessionStart Hook Integration

# In session_start__show_project_info.py
# Automatically called when session starts
Skill("moai-session-info")

Command Integration

# Before /alfred:1-plan
if context == "planning":
    Skill("moai-session-info")  # Show current status

# Before /alfred:2-run
if context == "implementation":
    Skill("moai-session-info")  # Confirm project state

# Before git operations
if "git" in command:
    Skill("moai-session-info")  # Show repository status

Error Handling and Fallbacks

Graceful Degradation

The skill provides useful information even when some sources fail:

# If Git commands fail:
# Still show project info, version, and system resources

# If SPEC counting fails:
# Still show Git status and version information

# If network access fails:
# Still show local information (Git, SPECs, system)

Common Error Scenarios

  • Git repository not found: Shows project info without Git details
  • No .moai/config.json: Uses default settings and basic project detection
  • Network unavailable: Shows local information only
  • Permission denied: Provides read-only information where possible

Performance Considerations

Optimization Strategies

  • Caching: Cache expensive operations (Git history, version checks)
  • Timeouts: 5-second timeout for network operations
  • Lazy Loading: Load detailed information only when requested
  • Incremental Updates: Update only changed information

Resource Usage

  • Memory: Minimal footprint (< 10MB)
  • Network: Only for version checks (cached locally)
  • Disk: Reads existing files, no modifications
  • CPU: Lightweight operations, quick response times

Usage Examples

Example 1: Session Start

# User starts new Claude Code session
Skill("moai-session-info")

# Output:
🚀 MoAI-ADK Session Started

📋 Project Overview
   🗿 Project: MoAI-ADK
   📁 Location: /Users/goos/MoAI/MoAI-ADK
   🌍 Language: 한국어
   🔧 Mode: Team

📦 Version: v0.15.2 → v0.16.0 available
📝 Release Notes: https://github.com/...

🌿 Branch: develop (3 ahead)
📝 Changes: 5 modified, 2 added
📋 SPEC Progress: 12/15 (80%)

Example 2: Pre-Implementation Check

# User wants to implement new feature
"/alfred:2-run SPEC-AUTH-001"

# Alfred automatically calls:
Skill("moai-session-info")

# User sees status before implementation begins

Example 3: Status Query

# User asks: "what's our current status?"
Skill("moai-session-info")

# Complete project status displayed

End of Skill | Optimized for quick status checks and session context

GitHub Repository

modu-ai/moai-adk
Path: src/moai_adk/templates/.claude/skills/moai-session-info
agentic-aiagentic-codingagentic-workflowclaudeclaudecodevibe-coding

Related Skills

sglang

Meta

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

View skill

evaluating-llms-harness

Testing

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

View skill

llamaguard

Other

LlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.

View skill

langchain

Meta

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

View skill