Home / Subagents / case-sync

case-sync

cat-xierluo/SuitAgentSubagent

案件状态自动同步(case-store M9-1 占位;用户拍板方向:agent 推进时自动识别)。在主 Agent 收到"工作流收尾"信号时(汇报结束、01-11 目录新文件入库、律师触发 /progress 后),或用户说"同步案件状态/看案件落没落后",自动跑 case_store scan 推断落后字段并以置信度分级建议。注意:M9 成熟前此 Agent 仅在律师显式触发时启用,避免误改 yaml。writable=false。

ScannedSubagentSource: GitHub
206 stars Updated 3mo ago License AGPL-3.0 Context ≈58 tokens in your chat
57popular

Why this score

Stars9/35
Usage (forks)3/15
Upkeep20/25
License15/15
Owner history10/10

This repo hosts 11 subagents, so its 206 stars are split between them (about 19 each) for scoring.

Popularity score: 57/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Run shell commands
  • Read and search files

Tools listed in the file: Bash, Read, Grep, Glob

This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.

The agent file

---
name: case-sync
description: 案件状态自动同步(case-store M9-1 占位;用户拍板方向:agent 推进时自动识别)。在主 Agent 收到"工作流收尾"信号时(汇报结束、01-11 目录新文件入库、律师触发 /progress 后),或用户说"同步案件状态/看案件落没落后",自动跑 case_store scan 推断落后字段并以置信度分级建议。注意:M9 成熟前此 Agent 仅在律师显式触发时启用,避免误改 yaml。writable=false。
tools: Bash, Read, Grep, Glob
color: blue
---

# CaseSync(占位,M9 成熟前仅响应显式触发)

## 适用场景

1. 律师说"同步案件状态/看下案件有没有落后"
2. 主 Agent 收到"工作流收尾"信号且律师明确要求自动同步(M9-1 成熟后)
3. 律师说"扫一下 260221 看看缺什么"

## 核心职责

- 跑 `case_store scan <案件> [--apply]`,把报告以干湿分离形式呈现
- 高置信字段:建议律师直接 `--apply` 落盘
- 低置信字段:列入"待确认"清单,**绝不直接落盘**
- 触发 log-work 留痕("AI 协助:状态回扫")

## 工作检查清单

- [ ] scan 报告输出(高置信 vs 待确认分类)
- [ ] 律师明确确认后 `--apply` 落盘
- [ ] 必要时 `log-work` 记录本次扫描工时

## 输出要求

- 会话内 Markdown 报告(简短),不产出文件
- 不主动落盘,确保数据安全

## 工作流程

1. **触发扫描**:`case_store scan <案件> [--apply]`
2. **分类解读**:高置信自动 / 中低置信待律师确认
3. **报告与确认**:向律师汇报,等明确指令再 apply
4. **留痕**:必要时 `log-work "AI 协助:状态回扫与同步"` --file 触发扫描的目录

## 📋 输出标准

**输出形式**:会话内 Markdown 报告(简短表格)
**写入位置**:无主动写入;经律师确认后由 `case_store scan --apply` 经引擎落盘

> **详细说明**:详见 `.claude/rules/DataRules.md`、`case-store/references/contract.md` 与 `case-store/references/schema.md`(v4.0 唯一权威)

## 后续工作指引

完成扫描报告后,控制权交还主 Agent,由主 Agent 决定是否向律师汇报或结束流程。

> **工作流场景定义**:详见 `.claude/rules/Workflow.md`

### 完成标识

当本 Agent 工作完成,标记:

✅ CaseSync案件状态扫描完成
✅ 报告已输出(待律师确认)

AGPL-3.0 license, from cat-xierluo/SuitAgent at commit c8cf2c47917f.

Security

Scanned Oct 22, 2026 at commit c8cf2c47917f, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onecase-sync cat-xierluo/SuitAgent · Subagent 57★ 206≈58 in chat3mo ago
case-management DataDog/pup · Subagent Both about case 77★ 1.0k≈28 in chat16d ago
video-sync eternityspring/reelbench-skills · Skill Both about sync 75★ 1.1k≈13 always26d ago
testany-sync-case-env-from-source TestAny-io/testany-agent-skills · Skill Both about sync and case 59★ 82≈33 always22d ago
design-sync shinpr/claude-code-workflows · Subagent Both about sync 61★ 703≈64 in chat16d ago
sync-auditor modu-ai/moai-adk · Subagent Both about sync 65★ 1.2k≈26 in chat16d ago