Crawler Summary

diwu-init answer-first brief

初始化新项目的 Claude Code Agent 工作流结构。自动创建 CLAUDE.md、task.json、recording.md、init.sh,以及可选的架构约束文件。触发场景:(1) 新建项目或代码库时,(2) 用户说"init project"、"scaffold"、"新建项目"、"初始化项目",(3) 为已有代码库搭建 Claude Code 工作流,(4) 用户提到需要创建 CLAUDE.md 或 task.json。 --- name: diwu-init description: 初始化新项目的 Claude Code Agent 工作流结构。自动创建 CLAUDE.md、task.json、recording.md、init.sh,以及可选的架构约束文件。触发场景:(1) 新建项目或代码库时,(2) 用户说"init project"、"scaffold"、"新建项目"、"初始化项目",(3) 为已有代码库搭建 Claude Code 工作流,(4) 用户提到需要创建 CLAUDE.md 或 task.json。 --- 项目初始化 使用标准 Claude Code Agent 工作流结构初始化项目。 工作流程 1. 收集项目信息 询问用户: - **项目名称**和**1-2 句描述** - **技术栈**: 语言、框架、样式、数据库 - **常用命令**: dev、build、lint、test - **关键目录**: 项目结构概览 2 Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.

Freshness

Last checked 4/15/2026

Best For

diwu-init is best for general automation workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, GITHUB OPENCLEW, runtime-metrics, public facts pack

Claim this agent
Agent DossierGitHubSafety: 94/100

diwu-init

初始化新项目的 Claude Code Agent 工作流结构。自动创建 CLAUDE.md、task.json、recording.md、init.sh,以及可选的架构约束文件。触发场景:(1) 新建项目或代码库时,(2) 用户说"init project"、"scaffold"、"新建项目"、"初始化项目",(3) 为已有代码库搭建 Claude Code 工作流,(4) 用户提到需要创建 CLAUDE.md 或 task.json。 --- name: diwu-init description: 初始化新项目的 Claude Code Agent 工作流结构。自动创建 CLAUDE.md、task.json、recording.md、init.sh,以及可选的架构约束文件。触发场景:(1) 新建项目或代码库时,(2) 用户说"init project"、"scaffold"、"新建项目"、"初始化项目",(3) 为已有代码库搭建 Claude Code 工作流,(4) 用户提到需要创建 CLAUDE.md 或 task.json。 --- 项目初始化 使用标准 Claude Code Agent 工作流结构初始化项目。 工作流程 1. 收集项目信息 询问用户: - **项目名称**和**1-2 句描述** - **技术栈**: 语言、框架、样式、数据库 - **常用命令**: dev、build、lint、test - **关键目录**: 项目结构概览 2

OpenClawself-declared

Public facts

4

Change events

1

Artifacts

0

Freshness

Apr 15, 2026

Verifiededitorial-contentNo verified compatibility signals

Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.

Trust evidence available

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Apr 15, 2026

Vendor

Ssdiwu

Artifacts

0

Benchmarks

0

Last release

Unpublished

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.

Setup snapshot

git clone https://github.com/ssdiwu/diwu-init.git
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Ssdiwu

profilemedium
Observed Apr 15, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Apr 15, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB OPENCLEW

Extracted files

0

Examples

4

Snippets

0

Languages

typescript

Parameters

Executable Examples

json

{
  "id": 1,
  "description": "实现用户登录功能",
  "status": "InDraft",
  "acceptance": [
    "输入正确密码后跳转首页",
    "错误密码显示提示"
  ],
  "steps": ["实现登录 API", "添加错误处理"],
  "category": "functional",
  "blocked_by": []
}

markdown

# Session 记录

(Sessions will be recorded here)

bash

git init
git add .
git commit -m "Initial project setup with Claude Code workflow"

text

project-root/
├── .claude/
│   ├── CLAUDE.md             # 项目配置(官方位置)
│   ├── task.json             # 任务跟踪
│   ├── recording.md          # 进度日志
│   ├── checks/
│   │   └── smoke.sh          # 基线验证
│   └── rules/
│       └── constraints.md    # 架构约束(可选)
├── AGENTS.md                 # 跨 AI 工具入口点
├── init.sh                   # 环境设置脚本
└── src/

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB OPENCLEW

Docs source

GITHUB OPENCLEW

Editorial quality

ready

初始化新项目的 Claude Code Agent 工作流结构。自动创建 CLAUDE.md、task.json、recording.md、init.sh,以及可选的架构约束文件。触发场景:(1) 新建项目或代码库时,(2) 用户说"init project"、"scaffold"、"新建项目"、"初始化项目",(3) 为已有代码库搭建 Claude Code 工作流,(4) 用户提到需要创建 CLAUDE.md 或 task.json。 --- name: diwu-init description: 初始化新项目的 Claude Code Agent 工作流结构。自动创建 CLAUDE.md、task.json、recording.md、init.sh,以及可选的架构约束文件。触发场景:(1) 新建项目或代码库时,(2) 用户说"init project"、"scaffold"、"新建项目"、"初始化项目",(3) 为已有代码库搭建 Claude Code 工作流,(4) 用户提到需要创建 CLAUDE.md 或 task.json。 --- 项目初始化 使用标准 Claude Code Agent 工作流结构初始化项目。 工作流程 1. 收集项目信息 询问用户: - **项目名称**和**1-2 句描述** - **技术栈**: 语言、框架、样式、数据库 - **常用命令**: dev、build、lint、test - **关键目录**: 项目结构概览 2

Full README

name: diwu-init description: 初始化新项目的 Claude Code Agent 工作流结构。自动创建 CLAUDE.md、task.json、recording.md、init.sh,以及可选的架构约束文件。触发场景:(1) 新建项目或代码库时,(2) 用户说"init project"、"scaffold"、"新建项目"、"初始化项目",(3) 为已有代码库搭建 Claude Code 工作流,(4) 用户提到需要创建 CLAUDE.md 或 task.json。

项目初始化

使用标准 Claude Code Agent 工作流结构初始化项目。

工作流程

1. 收集项目信息

询问用户:

  • 项目名称1-2 句描述
  • 技术栈: 语言、框架、样式、数据库
  • 常用命令: dev、build、lint、test
  • 关键目录: 项目结构概览

2. 选择配置模式

询问用户在两种模式中选择:

精简模式 (如果用户有 ~/.claude/rules/ 则推荐):

  • 项目 .claude/CLAUDE.md 引用全局规则
  • 文件体积更小
  • 更易维护(全局规则可集中更新)
  • 适合个人项目

便携模式 (用于分享或独立项目时推荐):

  • 将完整工作流规则嵌入 .claude/CLAUDE.md
  • 项目自包含
  • 无需 ~/.claude/rules/ 即可工作
  • 适合分发给他人

检测逻辑:

  • 检查 ~/.claude/rules/ 是否存在
  • 存在则默认精简模式
  • 不存在则默认便携模式

3. 创建项目文件

所有文件按照 Claude Code 官方结构创建(见 https://code.claude.com/docs/zh-CN/memory.md)。

.claude/CLAUDE.md

精简模式: 读取 assets/claude-md-minimal.template,使用步骤 1 的项目信息定制。

便携模式: 读取 assets/claude-md-portable.template,替换 [RULES:filename.md] 占位符为实际内容:

  • assets/rules/ 读取每个规则文件
  • 将占位符替换为文件内容
  • 示例: [RULES:task-states.md]assets/rules/task-states.md 的内容

使用步骤 1 的信息定制项目上下文部分。

编写指南(来自 references/memory-best-practices.md):

  • 要具体: "使用 2 空格缩进" 而非 "正确格式化代码"
  • 包含所有常用命令,避免重复搜索
  • 记录命名约定和代码风格
  • 使用 @path/to/file 引用文档,而非复制内容到 CLAUDE.md

AGENTS.md (项目根目录)

读取 assets/agents-md.template 并写入项目根目录。

这个精简文件作为重定向,供其他 AI 工具(Codex、Gemini 等)找到实际配置。

.claude/task.json

读取 assets/task.json.template,写入 .claude/task.json。如用户已定义需求,填充初始任务并设置 "status": "InDraft",否则保持 tasks 数组为空。

任务结构:

{
  "id": 1,
  "description": "实现用户登录功能",
  "status": "InDraft",
  "acceptance": [
    "输入正确密码后跳转首页",
    "错误密码显示提示"
  ],
  "steps": ["实现登录 API", "添加错误处理"],
  "category": "functional",
  "blocked_by": []
}

有效状态: InDraftInSpecInProgressInReviewDoneCancelled

字段名称: descriptionacceptancestepsblocked_by 为可选字段(无依赖时省略)。

init.sh

读取 assets/init.sh.template,根据技术栈定制:

  • 设置正确的安装命令(npm install / pip install / cargo build / 等)
  • 设置正确的开发服务器命令
  • 添加可执行权限: chmod +x init.sh

.claude/recording.md

读取 assets/recording.md.template(原 progress.md.template)并写入 .claude/recording.md:

# Session 记录

(Sessions will be recorded here)

注意: 旧项目可能有 progress.txtprogress.md,新标准为 recording.md

.claude/checks/smoke.sh

读取 assets/smoke.sh.template,根据技术栈定制并写入 .claude/checks/smoke.sh。添加可执行权限 chmod +x

4. 可选: 架构约束

对于架构复杂的项目,询问用户是否需要 .claude/rules/constraints.md

如需要,读取 references/constraint-template.md 并引导用户使用五维框架定义约束:

  • 业务约束: "100 年后还成立吗?"
  • 时序约束: "能绕过这个状态转移吗?"
  • 跨平台约束: "两端不同是 bug 吗?"
  • 并发约束: "两个线程同时做会出问题吗?"
  • 感知约束: "超过阈值用户会注意到吗?"

5. Git 初始化(如需要)

如果还不是 git 仓库:

git init
git add .
git commit -m "Initial project setup with Claude Code workflow"

6. 验证

确认所有文件已创建且有效:

  • [ ] .claude/CLAUDE.md 已填充项目信息(精简或便携模式)
  • [ ] 项目根目录有 AGENTS.md
  • [ ] .claude/task.json 是有效 JSON
  • [ ] init.sh 可执行
  • [ ] .claude/recording.md 存在
  • [ ] .claude/checks/smoke.sh 可执行
  • [ ] (可选) .claude/rules/constraints.md

7. 规则文件说明(便携模式)

如选择便携模式,完整嵌入的工作流规则包含:

| 规则文件 | 内容概要 | 行数 | |---------|---------|------| | core-states.md | task.json 结构与字段定义、状态机与转移规则、blocked_by 规范 | ~137 行 | | core-workflow.md | Session 流程、任务规划、实施、验证要求 | ~243 行 | | exceptions.md | 阻塞、Change Request、超前实施、回退处理 | ~106 行 | | templates.md | 所有格式模板、Git 规范、可调参数 | ~157 行 | | file-layout.md | 所有文件路径定义、目录结构、归档触发条件 | ~45 行 |

总计: 约 688 行工作流规则

文件结构概览

project-root/
├── .claude/
│   ├── CLAUDE.md             # 项目配置(官方位置)
│   ├── task.json             # 任务跟踪
│   ├── recording.md          # 进度日志
│   ├── checks/
│   │   └── smoke.sh          # 基线验证
│   └── rules/
│       └── constraints.md    # 架构约束(可选)
├── AGENTS.md                 # 跨 AI 工具入口点
├── init.sh                   # 环境设置脚本
└── src/

技术说明

为什么使用 .claude/ 目录?

遵循 Claude Code 官方文档(https://code.claude.com/docs/zh-CN/memory.md):

  • .claude/CLAUDE.md 优先级高于全局 ~/.claude/CLAUDE.md
  • 这是组织项目特定配置的推荐方式

为什么在根目录放置 AGENTS.md?

  • 可发现性: 其他 AI 工具可以轻松找到
  • 简洁性: 仅作为重定向,非完整文档
  • 兼容性: 适用于 Claude 之外的各种 AI 编程助手

规则嵌入策略

  • 精简模式: 无重复,引用全局规则
  • 便携模式: 使用 assets/rules/ 中的内置规则作为默认模板
  • 如用户在 ~/.claude/rules/ 有自定义规则,便携模式中优先使用这些规则

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

MissingGITHUB OPENCLEW

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/ssdiwu-diwu-init/snapshot"
curl -s "https://xpersona.co/api/v1/agents/ssdiwu-diwu-init/contract"
curl -s "https://xpersona.co/api/v1/agents/ssdiwu-diwu-init/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
GITHUB_REPOSactivepieces

Rank

70

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

Traction

No public download signal

Freshness

Updated 2d ago

OPENCLAW
GITHUB_REPOScherry-studio

Rank

70

AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs

Traction

No public download signal

Freshness

Updated 5d ago

MCPOPENCLAW
GITHUB_REPOSAionUi

Rank

70

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

Traction

No public download signal

Freshness

Updated 6d ago

MCPOPENCLAW
GITHUB_REPOSCopilotKit

Rank

70

The Frontend for Agents & Generative UI. React + Angular

Traction

No public download signal

Freshness

Updated 23d ago

OPENCLAW
Machine Appendix

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/ssdiwu-diwu-init/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/ssdiwu-diwu-init/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/ssdiwu-diwu-init/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/ssdiwu-diwu-init/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/ssdiwu-diwu-init/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/ssdiwu-diwu-init/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_OPENCLEW",
      "generatedAt": "2026-04-17T00:50:14.747Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile"
}

Facts JSON

[
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Ssdiwu",
    "href": "https://github.com/ssdiwu/diwu-init",
    "sourceUrl": "https://github.com/ssdiwu/diwu-init",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T01:13:05.160Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/ssdiwu-diwu-init/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/ssdiwu-diwu-init/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-04-15T01:13:05.160Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/ssdiwu-diwu-init/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/ssdiwu-diwu-init/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to diwu-init and adjacent AI workflows.