MCP HubMCP Hub
スキル一覧に戻る

moai-session-info

modu-ai
更新日 Today
63 閲覧
424
78
424
GitHubで表示
デザインai

について

moai-session-infoスキルは、Gitステータス、SPEC進捗状況、バージョン詳細、システムリソースを含む包括的なプロジェクトおよびセッションの概要を提供します。新規セッションの開始時、プロジェクトステータスの確認時、またはユーザーが「現在の状況は?」「どこまで進んでいる?」と尋ねた際にご利用ください。本スキルはセッション開始時に自動的に読み込まれるか、明示的に要求された際に起動し、開発者に完全なプロジェクトコンテキストを提供します。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/modu-ai/moai-adk
Git クローン代替
git clone https://github.com/modu-ai/moai-adk.git ~/.claude/skills/moai-session-info

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

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 リポジトリ

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

関連スキル

evaluating-llms-harness

テスト

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.

スキルを見る

sglang

メタ

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.

スキルを見る

cloudflare-turnstile

メタ

This skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.

スキルを見る

langchain

メタ

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.

スキルを見る