ai-agent-team: Skill for Claude Code

.claude/skills/thread-manager/SKILL.md

thread-manager is a skill for Claude Code from peterfei/ai-agent-team. It costs 0 tokens per session (458 once invoked), scanned A, original, MIT.

A conversation manager for Claude Code that keeps several separate work threads. Each thread has its own message history, and local SQLite storage records threads and related file changes.

In plain words
What is it for?
Use it to create, list, switch, update, and delete task threads. It is useful when working on multiple coding tasks in parallel or searching the history of previous work.
Why use it?
It prevents unrelated tasks from mixing their context and makes it easier to pause one task without losing its place. It also helps you find earlier messages and see which files each thread changed.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions Claude Code.

This is peterfei/ai-agent-team's own configuration. It tells Claude Code how to work on ai-agent-team itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-agent-team configures →

Reuse

Borrowing it

Nothing to install: this file belongs to peterfei/ai-agent-team. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/peterfei/ai-agent-team/main/.claude/skills/thread-manager/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/peterfei/ai-agent-team

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for thread-manager

README.md
[![agentmods](https://agentmods.dev/badge/skills/peterfei/ai-agent-team/thread-manager/github.svg)](https://agentmods.dev/skills/peterfei/ai-agent-team/thread-manager)
Your own site
<a href="https://agentmods.dev/skills/peterfei/ai-agent-team/thread-manager"><img src="https://agentmods.dev/badge/skills/peterfei/ai-agent-team/thread-manager/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for thread-manager

Your own site · 80×15
<a href="https://agentmods.dev/skills/peterfei/ai-agent-team/thread-manager"><img src="https://agentmods.dev/badge/skills/peterfei/ai-agent-team/thread-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 458 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00458
Opus 5.5 $0.00000 $0.00183
Sonnet 5.5 $0.00000 $0.00092
Haiku 4.5 $0.00000 $0.00046

Measured 1mo ago against content hash b0f881d1c9cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

thread-manager scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 40 executable files (find-module.js, jest.config.js, scripts/download-model.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/thread-manager/SKILL.md · 47 lines

What it actually says

Thread Manager Skill

Thread Manager 为 Claude Code 提供多线程对话管理功能,让你可以并行处理多个任务,保持上下文隔离和专注。

功能特性

  • 多线程管理: 创建、切换、更新和删除对话线程。
  • 上下文隔离: 每个线程拥有独立的消息历史和上下文。
  • 文件变更追踪: 自动记录每个线程中修改的文件和代码行数统计。
  • 持久化存储: 使用 SQLite 本地存储所有数据,安全可靠。
  • Git 集成: 自动检测文件变更详情。

安装

本 Skill 通常作为 ai-agent-team 项目的一部分安装。如果需要单独安装:

  1. 确保已安装 Node.js 18+。
  2. 运行 npm install 安装依赖。
  3. 运行 npm run build 编译代码。
  4. 将本 Skill 添加到 Claude Code 配置文件 (config.json) 中。

MCP 工具

工具名称 描述
create_thread 创建新线程
list_threads 列出所有线程
switch_thread 切换到指定线程
get_thread 获取线程详情
update_thread 更新线程信息
delete_thread 删除线程
get_current_thread 获取当前活跃线程
track_file_change 记录文件变更 (支持自动检测)
search_messages 基于语义搜索历史消息 (支持自然语言)

Slash Commands

  • /thread new "Title": 创建新线程
  • /threads: 列出所有线程
  • /thread <id>: 切换线程
  • /thread info: 查看当前线程详情
  • /memory search "query": 搜索历史消息 (需要调用 search_messages)

数据存储

数据存储在 ~/.claude/threads/threads.db (默认) 或环境变量 THREADS_DB_PATH 指定的位置。

Files

What ships with it

55 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 47 lines · 0 tokens per session scan A b0f881d1c9cc

Subscribe to this mod's changes

thread-manager is a skill published in the GitHub repository peterfei/ai-agent-team (448 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 458 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

claude-code-bash-patterns

Claude Code Bash tool patterns with hooks, automation, git workflows. Use for PreToolUse hooks, command chaining, CLI orchestration, custom commands, or encountering bash permissions, command failures, security guards, hook configurations.

secondsky/claude-skills · 52 tokens

agentic-delegation

Plan who does each step of a task in this repo, on which model, at which effort: Haiku or Sonnet subagents for search, recon, and log-reading; code edits on Opus 5.5; start at medium effort and escalate on evidence (high, then xhigh, then Fable 5.1 for one stuck task); the orchestrator keeps design, security-sensitive…

VincentChuWaiChow/vanguard-frontier-agentic · 152 tokens

jiaojie

A human-first method for handing ongoing work from one chat, AI model, device, or language to another. It creates or reads a small handoff document, or a package with files when the receiver needs them.

Jordanwei1/jiaojie-skill · 186 tokens

aws-non-destructive-task-automation-advisor

Design AWS non-destructive task automation using EventBridge, Step Functions, Lambda, Systems Manager Automation, SNS, SQS, approvals, notifications, reporting, and evidence gathering. Use only for read-only or coordination-safe automation; do not use for destructive remediation or mutation-heavy runbooks.

VincentChuWaiChow/vanguard-frontier-agentic · 68 tokens

promote

Turn a scratch script into a permanent tool this repo keeps. Use when a check, report, or analysis has proved worth running more than once.

ArcticFox2029/chamnan · 29 tokens

sitrep-panel

Keep a live local HTML report updated as you work on a task — a status board, a running "what's happening now" narrative, screenshots, and a newest-first log — served on localhost so the user can watch progress in a browser tab instead of reading the transcript. Use when the user invokes /sitrep-panel, asks for a…

dbl8005/sitrep-panel · 101 tokens