← 返回 Skills 市场
myakove

Ccsinfo

作者 Meni Yakove · GitHub ↗ · v0.1.6
cross-platform ⚠ suspicious
2248
总下载
0
收藏
0
当前安装
7
版本数
在 OpenClaw 中安装
/install ccsinfo
功能描述
Query and analyze Claude Code session data from a remote server. Use when asked to inspect Claude Code sessions, view conversation history, check tool calls,...
使用说明 (SKILL.md)

ccsinfo - Claude Code Session Info

Access and analyze Claude Code session data from a remote ccsinfo server running on the user's machine.

Server Repository: https://github.com/myk-org/ccsinfo

Requirements

1. Server Setup (on the machine with Claude Code data)

The ccsinfo server must be running on the machine that has Claude Code session data.

Install and run the server:

# Install ccsinfo
uv tool install git+https://github.com/myk-org/ccsinfo.git

# Start the server (accessible on LAN)
ccsinfo serve --host 0.0.0.0 --port 9999

The server reads Claude Code session data from ~/.claude/projects/ and exposes it via REST API.

For full server documentation, see: https://github.com/myk-org/ccsinfo

2. Client Setup (where this skill runs)

The ccsinfo CLI tool must be installed. Check if installed:

which ccsinfo

If not installed, run the installation script:

bash scripts/install.sh

3. Configuration

Set the CCSINFO_SERVER_URL environment variable to point to your server:

export CCSINFO_SERVER_URL=http://192.168.1.100:9999

Add this to your shell profile (.bashrc, .zshrc, etc.) to persist across sessions.

Quick Start

All commands automatically connect to the remote server via $CCSINFO_SERVER_URL.

List recent sessions

ccsinfo sessions list

Show session details (supports partial ID matching)

ccsinfo sessions show \x3Csession-id>

View conversation messages

ccsinfo sessions messages \x3Csession-id>

Search sessions by content

ccsinfo search sessions "search term"

View global statistics

ccsinfo stats global

Common Workflows

Inspect a specific session

  1. List sessions to find the ID:

    ccsinfo sessions list
    
  2. Show session details:

    ccsinfo sessions show \x3Cid>
    
  3. View messages:

    ccsinfo sessions messages \x3Cid>
    
  4. Check tool calls:

    ccsinfo sessions tools \x3Cid>
    

Find sessions by content

# Search across all sessions
ccsinfo search sessions "refactor"

# Search message content
ccsinfo search messages "fix bug"

# Search prompt history
ccsinfo search history "implement feature"

Track tasks

# Show all pending tasks
ccsinfo tasks pending

# List tasks for a session
ccsinfo tasks list -s \x3Csession-id>

# Show specific task details
ccsinfo tasks show \x3Ctask-id> -s \x3Csession-id>

View statistics and trends

# Overall usage stats
ccsinfo stats global

# Daily activity breakdown
ccsinfo stats daily

# Analyze trends over time
ccsinfo stats trends

Work with projects

# List all projects
ccsinfo projects list

# Show project details
ccsinfo projects show \x3Cproject-id>

# Project statistics
ccsinfo projects stats \x3Cproject-id>

Output Formats

Most commands support --json for machine-readable output:

ccsinfo sessions list --json
ccsinfo stats global --json

This is useful for parsing results programmatically or filtering with jq.

Session ID Matching

Session IDs support partial matching - use the first few characters:

ccsinfo sessions show a1b2c3  # matches a1b2c3d4-e5f6-7890-abcd-ef1234567890

Reference

For complete command reference, see cli-commands.md.

Troubleshooting

Check server connectivity

# Verify server URL is set
echo $CCSINFO_SERVER_URL

# Test connection (list sessions)
ccsinfo sessions list

Verify installation

# Check if ccsinfo is installed
which ccsinfo

# Check version
ccsinfo --version

Reinstall if needed

bash scripts/install.sh
安全使用建议
This skill appears to do what it says, but before installing: 1) Verify the ccsinfo server code (GitHub/PyPI package) yourself — it will read ~/.claude/projects/ and therefore has access to your conversation history. 2) Avoid running the server bound to 0.0.0.0 on untrusted networks; prefer localhost or use firewall rules, TLS, and authentication. 3) Confirm the CCSINFO_SERVER_URL points to a trusted, private endpoint and does not embed credentials. 4) Ensure you trust the 'uv' package manager and the ccsinfo package source before running scripts/install.sh. If you cannot review the server code or cannot secure the server endpoint, treat the data exposure risk as significant.
功能分析
Type: OpenClaw Skill Name: ccsinfo Version: 0.1.6 The skill is classified as suspicious primarily due to a supply chain vulnerability: `scripts/install.sh` instructs the agent to install the `ccsinfo` CLI tool from PyPI using `uv tool install ccsinfo`. If the `ccsinfo` package on PyPI were compromised, this would lead to the installation and execution of malicious code. Additionally, the skill's core function involves accessing and transmitting potentially sensitive Claude Code session data (conversations, prompts, tool calls) over a network to a user-configured `CCSINFO_SERVER_URL`, which, while stated as its purpose, inherently carries risk due to the sensitive nature of the data and reliance on an external, user-defined endpoint.
能力评估
Purpose & Capability
The name/description, required binary (ccsinfo), and required environment variable (CCSINFO_SERVER_URL) align with the declared purpose of querying a remote ccsinfo server. The included wrapper and install scripts are consistent with providing a CLI client.
Instruction Scope
SKILL.md instructs the agent to invoke the ccsinfo CLI against the server URL and does not ask the agent to read unrelated local files or credentials. However, the documentation instructs running the server with access to ~/.claude/projects/ and suggests binding to 0.0.0.0, which would expose local Claude Code session data on the LAN; that is a privacy/security concern even though it is consistent with the skill's purpose.
Install Mechanism
No remote download-from-arbitrary-URL occurs in the skill bundle itself. The provided install script uses the 'uv' tool manager to install the ccsinfo package (uv tool install ccsinfo), which is a standard package-install approach (PyPI/git are referenced in docs). This is a moderate-risk but expected install mechanism; it requires trusting the ccsinfo package source and the 'uv' tool.
Credentials
Only CCSINFO_SERVER_URL is required and matches the skill's need to know where to contact the server. No unrelated secret environment variables or config paths are requested. Note: examples use http (not https) which may expose data in transit unless the server is configured for TLS.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide settings. It requires a CLI binary and an env var but does not demand elevated privileges or permanent forced inclusion.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ccsinfo
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ccsinfo 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.6
Install from PyPI instead of git+https (fixes supply chain security flag)
v0.1.5
Pin install script to ccsinfo release tag v0.1.0 for supply chain safety
v0.1.4
Fix registry metadata: declare CCSINFO_SERVER_URL as required env var and ccsinfo as required binary to resolve security scan inconsistency
v0.1.3
Add metadata: declare CCSINFO_SERVER_URL as required env var and ccsinfo as required binary in registry metadata
v0.1.2
Update documentation with GitHub repo and server requirements
v0.1.1
Add GitHub repo link and server requirements
v0.1.0
Initial release: Query and analyze Claude Code sessions from remote server
元数据
Slug ccsinfo
版本 0.1.6
许可证
累计安装 0
当前安装数 0
历史版本数 7
常见问题

Ccsinfo 是什么?

Query and analyze Claude Code session data from a remote server. Use when asked to inspect Claude Code sessions, view conversation history, check tool calls,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2248 次。

如何安装 Ccsinfo?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ccsinfo」即可一键安装,无需额外配置。

Ccsinfo 是免费的吗?

是的,Ccsinfo 完全免费(开源免费),可自由下载、安装和使用。

Ccsinfo 支持哪些平台?

Ccsinfo 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ccsinfo?

由 Meni Yakove(@myakove)开发并维护,当前版本 v0.1.6。

💬 留言讨论