Token导航 LogoToken导航TokenDH.com
待分类敏感数据github未标认证来源可访问许可证需确认审计通过

specstory-project-stats光谱故事项目统计

Agent Skill

specstory-project-stats 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,041

周安装

123

GitHub Stars

24

下载量

954
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:specstory-project-stats(光谱故事项目统计)
来源仓库:https://github.com/specstoryai/agent-skills
仓库路径:skills/specstory-project-stats
安装命令:
npx skills add https://github.com/specstoryai/agent-skills --skill specstory-project-stats
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/specstoryai/agent-skills --skill specstory-project-stats

简介

specstory-project-stats 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中整理项目状态。

  • 适用于围绕仓库变更、协作事项或代码状态进行信息梳理的场景。
  • 可通过安装命令或访问原始仓库获取具体功能说明。
  • 使用前需确认权限范围、维护状态及是否涉及敏感数据访问。
  • 建议结合真实仓库环境测试其准确性和稳定性。

SKILL.md

SpecStory Project Stats

Fetches project statistics from SpecStory's cloud platform, showing contributor counts, session activity, and other project metrics.

How It Works

  1. Identifies the project via .specstory/.project.json, git remote, or folder name
  2. Calls the SpecStory Cloud API
  3. Returns project statistics in JSON format
  4. Presents the data in a readable summary

Prerequisites

  • Project must be synced to SpecStory Cloud
  • Node.js must be available to run the script

Usage

Slash Command

User saysAction
/specstory-project-statsFetch stats for current project
/specstory-project-statsSame as above (no arguments needed)

Direct Script Usage

# Fetch stats for current project
node skills/specstory-project-stats/scripts/get-stats.js

# With custom API endpoint (for development)
SPECSTORY_API_URL=http://localhost:5173 node skills/specstory-project-stats/scripts/get-stats.js

Output

The script outputs JSON with project statistics:

{
  "project_id": "specstoryai/agent-skills",
  "sessions": {
    "total": 156,
    "last_30_days": 47,
    "last_7_days": 12
  },
  "contributors": {
    "total": 5,
    "active_last_30_days": 3
  },
  "activity": {
    "first_session": "2025-10-15",
    "last_session": "2026-01-28",
    "avg_sessions_per_week": 8.2
  }
}

Project ID Resolution

The script determines project ID in this order:

  1. .specstory/.project.json - Uses git_id or workspace_id field
  2. Git remote - Extracts repo name from origin remote URL
  3. Folder name - Falls back to current directory name

Error Handling

ErrorMeaningAction
404Project not foundProject needs to sync to SpecStory Cloud first
401UnauthorizedAPI endpoint may require authentication
Network errorCan't reach APICheck internet connection

Present Results to User

After fetching stats, present them in a friendly format:

Example Response (success)

Here are the stats for **specstoryai/agent-skills**:

**Sessions**
- Total: 156 sessions captured
- Last 30 days: 47 sessions
- Last 7 days: 12 sessions

**Contributors**
- Total: 5 contributors
- Active recently: 3

**Activity**
- First session: October 15, 2025
- Most recent: January 28, 2026
- Average: ~8 sessions per week

Your project has been actively using AI-assisted coding!

Example Response (404 error)

This project doesn't exist on SpecStory Cloud yet.

To get started:
1. Make sure you have SpecStory installed
2. Run `specstory sync` to push your local sessions to the cloud
3. Try this command again

Need help? Check the docs at https://docs.specstory.com

Environment Variables

VariableDefaultDescription
SPECSTORY_API_URLhttps://cloud.specstory.comAPI endpoint

Notes

  • Statistics are fetched from SpecStory Cloud, not local history
  • Project must have synced sessions to show meaningful stats
  • The API is public and doesn't require authentication for basic stats

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.83%
按下载量换算351

Claude

27.53%
按下载量换算263

Cursor

17.77%
按下载量换算170

Gemini CLI

10.02%
按下载量换算96

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills