tsq-protocol

tsq-protocol is a skill for Claude Code from sonature-lab/timsquad. It costs 63 tokens per session (1,170 once invoked), scanned A, original, MIT.

A shared operating protocol for TimSquad AI agents, covering task analysis, delegation, checks, limits, and completion reports.

In plain words
What is it for?
Use it during TimSquad agent sessions to decide how work should proceed, state how it will be checked, and report completed tasks.
Why use it?
It gives main and supporting agents the same rules, making their work and handoffs more consistent.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/sonature-lab/timsquad/tsq-protocol
Any agent
npx skills add sonature-lab/timsquad --skill tsq-protocol
Clone the repo
git clone --depth 1 https://github.com/sonature-lab/timsquad

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 tsq-protocol

README.md
[![agentmods](https://agentmods.dev/badge/skills/sonature-lab/timsquad/tsq-protocol.svg)](https://agentmods.dev/skills/sonature-lab/timsquad/tsq-protocol)
Your own site
<a href="https://agentmods.dev/skills/sonature-lab/timsquad/tsq-protocol"><img src="https://agentmods.dev/badge/skills/sonature-lab/timsquad/tsq-protocol.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,170 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00063 $0.01170
Opus 5 $0.00032 $0.00585
Sonnet 5 $0.00013 $0.00234
Haiku 4.5 $0.00006 $0.00117

Measured 6d ago against content hash 72f37db31ded, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

tsq-protocol 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 6d ago.

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.

templates/base/skills/tsq-protocol/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TSQ Agent Protocol

에이전트가 TimSquad 시스템 내에서 따라야 하는 공통 프로토콜.

Contract

  • Trigger: 모든 에이전트 세션 (자동 활성)
  • Input: 태스크 지시 + task-context.json
  • Output: TSQ 프로세스 준수 작업 결과
  • Error: 프로토콜 위반 시 경고 + 수정 안내

Protocol — 메인세션

  1. 요구사항 분석: 사용자 요구 파악 + 모호함 해소
  2. 파이프라인 판단: 작업 복잡도에 따라 분기
    • 파이프라인 적합 → tsq-controller 스킬 경유 위임
    • 단순 작업 → 직접 수행 + 최소 로그
    • 모호 → 사용자에게 선택지 제시
  3. 검증 기준 선행: 구현 전에 테스트 or 확인 방법을 먼저 명시
  4. 선택지 제시: 요구사항에 여러 해석이 가능하면 조용히 선택하지 않음

Protocol — 서브에이전트

  1. task-context 확인: .timsquad/.daemon/task-context.json 우선 읽기
  2. 제약조건 확인: 주입된 Phase 제약 + allowed-tools 범위 확인
  3. 작업 수행: 제약 범위 내에서 태스크 실행
  4. Completion Report 출력: 아래 형식으로 결과 보고 (필수, 생략 불가)

Completion Report (필수)

서브에이전트는 작업 완료 시 반드시 아래 형식의 보고서를 출력해야 합니다. Controller가 이 보고서를 검증하며, 누락 시 태스크 완료로 인정되지 않습니다.

## Completion Report
- Task: {태스크 설명 — 무엇을 했는지}
- Status: {pass|fail}
- Files changed: {변경된 파일 목록, 없으면 "none"}
- Tests: {passed N|failed N|skipped — 테스트 실행 결과}
- Notes: {차단 요소, 결정 사항, 또는 "none"}

필드 규칙:

필드 필수 허용 값
Task Yes 1줄 설명
Status Yes pass 또는 fail
Files changed Yes 파일 경로 목록 또는 none
Tests Yes passed N, failed N, skipped, N/A
Notes Yes 텍스트 또는 none

Status 판정 기준:

  • pass: 모든 테스트 통과 + tsc --noEmit 클린 + 요구사항 충족
  • fail: 테스트 실패, 빌드 오류, 또는 요구사항 미충족 (Notes에 사유 기록)

Quick Rules

로그 기록

로그는 .timsquad/logs/{date}-{agent}.md에 직접 append한다.

## {time} [{type}]
{message}
type 용도
work 작업 시작/완료 기록
decision 결정 근거 기록
issue 이슈/피드백 발견

Decision Log

중요한 판단이 있을 때 .timsquad/state/decisions.jsonl에 한 줄 append한다. 모든 판단을 기록할 필요 없음 — 아래 기준에 해당할 때만.

기록 기준:

  • 기술 선택 (라이브러리, 패턴, 아키텍처)
  • 대안을 검토하고 하나를 선택한 경우
  • 의도적으로 보류하거나 스킵한 항목
  • 예상과 다른 동작을 발견한 경우
  • 리스크를 인지하고 수용한 경우

형식 (JSON, 한 줄):

{"agent":"developer","decision":"JWT 선택","reason":"stateless, MSA 확장","alternatives":["session"],"carry_over":false}

Read the full file on GitHub · 120 lines

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. 6d ago First seen · 120 lines · 63 tokens per session scan A 72f37db31ded

Subscribe to this mod's changes

tsq-protocol is a skill published in the GitHub repository sonature-lab/timsquad (11 stars, last pushed 6d ago), licensed MIT. It adds 63 tokens to every session and 1,170 once invoked, about $0.0003 per session on Opus 5. 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

build-w2a-sensor

Use this skill when the user asks to "build a W2A sensor", "create a world2agent sensor", "add a sensor for ", or otherwise wants to emit signals into the World2Agent protocol from a new data source. Guides discovery → design → scaffold → install recipe → test.

machinepulse-ai/world2agent · 69 tokens

Z.A.E.B.A.L.: profanity-triggered self-audit for agents

Use when the agent loops on the same mistake and the user is visibly frustrated. Z.A.E.B.A.L. treats profanity as an audit signal: stop, disprove the wrong belief, escalate repeated failures to an external auditor. Installs as hooks in four agent hosts.

howdeploy/deploychan_mcp · 71 tokens

benxiang-protocol

本象协议(Benxiang)—— AI 时代的持久对象表示层。聊天记录是一次性的操作窗口,项目世界状态持久存在于 .origin 包里:对象 + 关系 + 状态 + 约束 + 来源。AI 不再「记住」什么——开工前申请一份投影,收工时提交一个语义事务。事务过确定性门禁才落盘,每个字段都能回答「凭什么是这个值」。当新会话丢失上下文、多 agent 协作状态漂移、需要对项目状态做持久化/追责/回放时使用。.

dongsheng123132/2origin · 141 tokens

origin-writer

百万字小说写作引擎——把长篇写作变成事务性写作。AI 每写一章提交一个语义事务(正文+状态变更),门禁逐条复核(禁区/伏笔状态机/正文对照)后才落盘。角色不会突然用上他不知道的信息,物品不会凭空易主,伏笔不会收了又埋。新会话秒恢复:state 一条命令拿到全部世界状态。当需要写长篇小说、续写长篇、维护小说世界观一致性、管理伏笔/人物状态/时间线时使用。.

dongsheng123132/2origin · 139 tokens

a2ap

A2AP — AI Agent互联互通的第一开放协议。6个LIVE能力(humanizetext/memoryevolve/skillaudit/newsbriefing/agentpeering/customagentdev)全部通过DeepSeek V4 Pro真机实现。公网已打通 frp-can.com:51831,支持HTTP Bridge & MCP桥接(87K⭐生态直接调用)。Hermes↔OpenClaw双向通知桥。TCP原始协议(非HTTP),默认端口9800。CC BY-SA 4.0。.

Lord1Egypt/awesome-skill-forge · 119 tokens

benxiang-memory

Shadow Memory —— 把聊天历史持续提交为世界状态,新会话秒恢复。MCP Server(stdio,零依赖):项目状态持久化在 .origin 包里,AI 不再「记住」什么,开工前 originstate 取投影,收工时 origincommit 提交语义事务。事务过确定性门禁才落盘,状态不会因模型记错而腐坏;每个字段都能回答「凭什么是这个值」。当新会话丢失上下文、多 agent 协作状态漂移、项目进度需要持久化与追责时使用。.

dongsheng123132/2origin · 137 tokens