跳到正文
TakoAPI
返回技能列表

lattice

由 cnf6682 提供

DevOps & Cloud
511下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Initialize and manage Lattice organizations — a file-based operating system for AI agent teams that enables stable.

描述

该技能的功能

Lattice is a file-based operating system for AI agent teams. It structures development work as an 8-phase pipeline (Constitute → Research → Specify → Plan → Implement → Test → Review → Gap Analysis), with each phase's state written to disk so agents can resume across sessions without context loss. When an agent gets stuck, a three-tier system handles recovery automatically: retry with a stronger model, consult multiple models in parallel, or auto-triage to relax constraints, defer, or flag for human review.

File-driven state avoids the context window overflow and drift that derail agents in chat-based workflows, letting tasks complete reliably over hours or days.

何时使用

  • Running a multi-day refactor across agent sessions without losing progress
  • Assigning cheaper models to code-writing phases and stronger models to planning phases to cut token costs
  • Automatically unblocking a stuck agent without manual intervention
  • Running several software projects in parallel on independent cron schedules
  • Setting up a structured department and project hierarchy for a new agent team

示例工作流

输入

User asks: Set up a Lattice org for my backend API project with Engineering and QA departments

智能体
  1. 1

    Asks for org name, target directory, department names, and optional first project details

  2. 2

    Copies templates/ORG/ to the target directory and customizes ORG_README.md with Engineering and QA departments

  3. 3

    Scaffolds department directories from the example-dept template, filling in names and resetting STATE.json

  4. 4

    Configures PIPELINE_STATE.json with per-phase model assignments and escalation chain based on user input

  5. 5

    Creates a cron job running the orchestrator prompt every 30 minutes and reports the job ID

输出

ORG/ directory created at /workspace/ORG/ with Engineering and QA departments, one project configured with pipeline state, and an orchestrator cron job scheduled every 30 minutes

前置要求

  • API keys for each AI model provider assigned to pipeline phases (e.g., Anthropic, OpenAI, Google)

安装

clawhub install cnf6682/lattice

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接