@archsight/aios 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +60 -0
- package/.claude-plugin/plugin.json +36 -0
- package/CHANGELOG.md +61 -33
- package/README.md +46 -21
- package/RELEASE_NOTES.md +27 -0
- package/adapters/README.md +7 -0
- package/adapters/workbuddy/README.md +43 -0
- package/bin/archsight-aios.mjs +54 -11
- package/docs/PUBLIC_DISCOVERY.md +193 -0
- package/gemini-extension.json +6 -0
- package/package.json +50 -29
- package/runtime/archsight-aios.manifest.json +108 -25
- package/runtime/capability-registry.json +12 -2
- package/runtime/skill-routing.md +9 -0
- package/scripts/validate-skills.mjs +134 -0
- package/skills/README.md +13 -0
- package/skills/aios-commercial-contract/SKILL.md +89 -0
- package/skills/aios-commercial-contract/agents/openai.yaml +4 -0
- package/skills/aios-commercial-tender/SKILL.md +89 -0
- package/skills/aios-commercial-tender/agents/openai.yaml +4 -0
- package/skills/aios-commercial-variation/SKILL.md +88 -0
- package/skills/aios-commercial-variation/agents/openai.yaml +4 -0
- package/skills/aios-construction-daily/SKILL.md +86 -0
- package/skills/aios-construction-daily/agents/openai.yaml +4 -0
- package/skills/aios-construction-meeting/SKILL.md +86 -0
- package/skills/aios-construction-meeting/agents/openai.yaml +4 -0
- package/skills/aios-construction-scheme/SKILL.md +79 -0
- package/skills/aios-construction-scheme/agents/openai.yaml +4 -0
- package/templates/project-ai/.ai/skills.md +14 -0
- package/templates/project-ai/.ai/workflows.md +7 -4
- package/workflows/README.md +3 -0
- package/workflows/site-daily-loop.md +101 -0
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
# 公共发现与上架清单
|
|
2
|
+
|
|
3
|
+
本文件记录 ArchSight AIOS 要被公共 skill 生态发现时,项目内需要提供的稳定入口。
|
|
4
|
+
|
|
5
|
+
结论:公共发现不是单一市场自动收录。AIOS 需要同时满足三类机制:
|
|
6
|
+
|
|
7
|
+
1. 本地自动发现:宿主扫描 `SKILL.md`、`skills/`、`.agents/skills/`、`.claude/skills/` 或 extension/plugin 目录。
|
|
8
|
+
2. 可分发安装:通过 GitHub、npm/npx、Antigravity/agy、Gemini extension 兼容入口、Claude marketplace、WorkBuddy、`skills.sh` / `npx skills` 安装。
|
|
9
|
+
3. 公共检索:依赖 GitHub topics、manifest、标准目录、README 关键词、release、安装量、star 和主动提交。
|
|
10
|
+
|
|
11
|
+
## 项目内入口
|
|
12
|
+
|
|
13
|
+
| 入口 | 文件 | 目的 |
|
|
14
|
+
| --- | --- | --- |
|
|
15
|
+
| 标准 skills 目录 | `skills/` | 让 `skills.sh`、`npx skills`、Antigravity/agy、Gemini extension 和其他标准 skill 索引器直接看到 `aios-*` Skill。 |
|
|
16
|
+
| Gemini extension manifest | `gemini-extension.json` | 保留 Gemini CLI extension 兼容入口和 Gallery / 第三方索引 manifest。 |
|
|
17
|
+
| Claude marketplace manifest | `.claude-plugin/marketplace.json` | 允许 Claude Code 用户通过 marketplace 方式发现本项目。 |
|
|
18
|
+
| Claude plugin manifest | `.claude-plugin/plugin.json` | 描述插件元数据,并把插件 skills 指向 `./skills/`。 |
|
|
19
|
+
| WorkBuddy adapter | `adapters/workbuddy/README.md` | 说明如何把 `aios-*` Skill 安装到 `~/.workbuddy/skills/`。 |
|
|
20
|
+
| npm metadata | `package.json` | 提供英文检索关键词、分发文件清单和 `validate:skills` 校验入口。 |
|
|
21
|
+
| 发现校验脚本 | `scripts/validate-skills.mjs` | 校验 manifest、skill frontmatter、跨 host manifest 和 npm metadata 是否一致。 |
|
|
22
|
+
|
|
23
|
+
## GitHub About 建议
|
|
24
|
+
|
|
25
|
+
这些内容需要在 GitHub 仓库页面右侧 About 区手动设置,不能只靠代码文件完成。
|
|
26
|
+
|
|
27
|
+
策略:默认展示中文,紧跟一段英文检索短语。中文用户能直接看懂项目定位,英文用户和索引器也能通过 `building-industry AI agent skills`、`project evidence work`、`BIM`、`IFC`、`GraphRAG`、`code review` 等词命中。
|
|
28
|
+
|
|
29
|
+
Description:
|
|
30
|
+
|
|
31
|
+
```text
|
|
32
|
+
面向建筑行业知识工作从业者与 AI 研发团队的 Skills、Workflow 与多 Agent 工具包 / Building-industry AI agent skills for BIM, IFC, RAG, GraphRAG, project evidence work, code review, and runtime governance.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Website:
|
|
36
|
+
|
|
37
|
+
```text
|
|
38
|
+
https://github.com/ArchSightLabs/archsight-aios
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Topics:
|
|
42
|
+
|
|
43
|
+
```text
|
|
44
|
+
agent-skills
|
|
45
|
+
building-ai
|
|
46
|
+
construction-ai
|
|
47
|
+
aec
|
|
48
|
+
bim
|
|
49
|
+
ifc
|
|
50
|
+
building-code
|
|
51
|
+
graphrag
|
|
52
|
+
mcp
|
|
53
|
+
codex
|
|
54
|
+
claude-code
|
|
55
|
+
gemini-cli-extension
|
|
56
|
+
antigravity
|
|
57
|
+
architecture-review
|
|
58
|
+
code-review
|
|
59
|
+
design-review
|
|
60
|
+
runtime-design
|
|
61
|
+
structural-engineering
|
|
62
|
+
tender-review
|
|
63
|
+
construction-management
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Pinned README 搜索摘要可使用:
|
|
67
|
+
|
|
68
|
+
```text
|
|
69
|
+
默认中文输出,保留英文检索能力:building-industry AI, project evidence work, BIM, IFC, building code, RAG, GraphRAG, MCP, architecture review, code review, runtime governance, structural review, construction management.
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## 公共安装命令
|
|
73
|
+
|
|
74
|
+
`skills.sh` / Vercel skills CLI:
|
|
75
|
+
|
|
76
|
+
```powershell
|
|
77
|
+
npx skills add ArchSightLabs/archsight-aios --list
|
|
78
|
+
npx skills add ArchSightLabs/archsight-aios --skill aios-arch --global
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Codex:
|
|
82
|
+
|
|
83
|
+
```powershell
|
|
84
|
+
npx @archsight/aios install --target codex --scope user
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Antigravity / agy:
|
|
88
|
+
|
|
89
|
+
```powershell
|
|
90
|
+
npx @archsight/aios install --target antigravity --scope user
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Gemini CLI extension 兼容入口:
|
|
94
|
+
|
|
95
|
+
```powershell
|
|
96
|
+
gemini extensions install https://github.com/ArchSightLabs/archsight-aios
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Gemini 用户级支持资产:
|
|
100
|
+
|
|
101
|
+
```powershell
|
|
102
|
+
npx @archsight/aios install --target gemini --scope user
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
WorkBuddy:
|
|
106
|
+
|
|
107
|
+
```powershell
|
|
108
|
+
npx @archsight/aios install --target workbuddy --scope user
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Claude Code marketplace:
|
|
112
|
+
|
|
113
|
+
```text
|
|
114
|
+
/plugin marketplace add ArchSightLabs/archsight-aios
|
|
115
|
+
/plugin install archsight-aios@archsight
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## 对外搜索词
|
|
119
|
+
|
|
120
|
+
README、release、npm、GitHub topics 和 launch post 应优先覆盖这些关键词:
|
|
121
|
+
|
|
122
|
+
```text
|
|
123
|
+
agent skills
|
|
124
|
+
AI agent skills
|
|
125
|
+
Codex skills
|
|
126
|
+
Claude Code skills
|
|
127
|
+
Gemini CLI extension
|
|
128
|
+
Antigravity CLI
|
|
129
|
+
construction AI
|
|
130
|
+
building AI
|
|
131
|
+
building-industry AI
|
|
132
|
+
AEC AI
|
|
133
|
+
project evidence work
|
|
134
|
+
BIM
|
|
135
|
+
IFC
|
|
136
|
+
building code
|
|
137
|
+
building code review
|
|
138
|
+
smart drawing review
|
|
139
|
+
architecture review
|
|
140
|
+
technical design review
|
|
141
|
+
code review
|
|
142
|
+
runtime design
|
|
143
|
+
runtime governance
|
|
144
|
+
MCP
|
|
145
|
+
GraphRAG
|
|
146
|
+
RAG
|
|
147
|
+
structural review
|
|
148
|
+
construction daily
|
|
149
|
+
tender review
|
|
150
|
+
contract evidence chain
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
## find-skills / skills.sh 索引请求模板
|
|
154
|
+
|
|
155
|
+
如果 `npx skills find` 搜不到本项目,可向对应社区或仓库提交索引请求:
|
|
156
|
+
|
|
157
|
+
```text
|
|
158
|
+
Repository: https://github.com/ArchSightLabs/archsight-aios
|
|
159
|
+
Package: @archsight/aios
|
|
160
|
+
License: Apache-2.0
|
|
161
|
+
Supported agents: Codex, Claude Code, Antigravity/agy, Gemini CLI, WorkBuddy, OpenCode, Hermes
|
|
162
|
+
Canonical skill path: skills/
|
|
163
|
+
Install command: npx skills add ArchSightLabs/archsight-aios --list
|
|
164
|
+
NPM install command: npx @archsight/aios install --target all --scope user
|
|
165
|
+
Representative skills: aios-arch, aios-design, aios-plan, aios-exec, aios-review, aios-knowledge, aios-structural, aios-runtime, aios-commercial-tender, aios-construction-daily
|
|
166
|
+
Keywords: agent skills, construction AI, BIM, IFC, building code, GraphRAG, architecture review, design review, code review, runtime design, MCP, structural review, tender review, construction management
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
## 发布前检查
|
|
170
|
+
|
|
171
|
+
每次发版前至少验证:
|
|
172
|
+
|
|
173
|
+
```powershell
|
|
174
|
+
npm run validate:skills
|
|
175
|
+
npx skills add . --list
|
|
176
|
+
npm test
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
如果本机安装了对应 CLI,再验证:
|
|
180
|
+
|
|
181
|
+
```powershell
|
|
182
|
+
gemini extensions validate .
|
|
183
|
+
claude plugin validate .
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
## 参考
|
|
187
|
+
|
|
188
|
+
- Codex Agent Skills: https://developers.openai.com/codex/skills
|
|
189
|
+
- OpenAI skills catalog: https://github.com/openai/skills
|
|
190
|
+
- Claude Code plugin marketplace: https://code.claude.com/docs/en/plugin-marketplaces
|
|
191
|
+
- Claude Code plugin reference: https://code.claude.com/docs/en/plugins-reference
|
|
192
|
+
- Gemini CLI extension releasing: https://github.com/google-gemini/gemini-cli/blob/main/docs/extensions/releasing.md
|
|
193
|
+
- Vercel skills CLI discovery: https://github.com/vercel-labs/skills
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "archsight-aios",
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "面向建筑行业知识工作从业者与 AI 研发团队的 Skills、Workflow 与多 Agent 工具包 / Building-industry AI agent skills for BIM, IFC, RAG, GraphRAG, project evidence work, code review, and runtime governance.",
|
|
5
|
+
"contextFileName": "GEMINI.md"
|
|
6
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@archsight/aios",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "面向建筑行业知识工作从业者与 AI 研发团队的 Skills、Workflow 与多 Agent 工具包 / Building-industry AI agent skills for BIM, IFC, RAG, GraphRAG, project evidence work, code review, and runtime governance.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://github.com/ArchSightLabs/archsight-aios#readme",
|
|
7
7
|
"repository": {
|
|
@@ -11,34 +11,52 @@
|
|
|
11
11
|
"bugs": {
|
|
12
12
|
"url": "https://github.com/ArchSightLabs/archsight-aios/issues"
|
|
13
13
|
},
|
|
14
|
-
"keywords": [
|
|
15
|
-
"ai",
|
|
16
|
-
"agents",
|
|
17
|
-
"architecture",
|
|
18
|
-
"bim",
|
|
19
|
-
"ifc",
|
|
20
|
-
"rag",
|
|
21
|
-
"graphrag",
|
|
22
|
-
"construction",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
14
|
+
"keywords": [
|
|
15
|
+
"ai",
|
|
16
|
+
"agents",
|
|
17
|
+
"architecture",
|
|
18
|
+
"bim",
|
|
19
|
+
"ifc",
|
|
20
|
+
"rag",
|
|
21
|
+
"graphrag",
|
|
22
|
+
"construction",
|
|
23
|
+
"construction-ai",
|
|
24
|
+
"building-ai",
|
|
25
|
+
"aec",
|
|
26
|
+
"building-code",
|
|
27
|
+
"project-evidence-work",
|
|
28
|
+
"agent-skills",
|
|
29
|
+
"ai-agent",
|
|
30
|
+
"codex",
|
|
31
|
+
"gemini-cli",
|
|
32
|
+
"antigravity",
|
|
33
|
+
"claude-code",
|
|
34
|
+
"workbuddy",
|
|
35
|
+
"skills-sh",
|
|
36
|
+
"mcp",
|
|
37
|
+
"runtime-governance",
|
|
38
|
+
"architecture-review",
|
|
39
|
+
"code-review",
|
|
40
|
+
"design-review"
|
|
41
|
+
],
|
|
27
42
|
"bin": {
|
|
28
43
|
"archsight-aios": "./bin/archsight-aios.mjs"
|
|
29
44
|
},
|
|
30
|
-
"scripts": {
|
|
31
|
-
"doctor": "node ./bin/archsight-aios.mjs doctor",
|
|
32
|
-
"install:user": "node ./bin/archsight-aios.mjs install --target all --scope user",
|
|
33
|
-
"smoke:project": "node ./bin/archsight-aios.mjs validate --temp",
|
|
34
|
-
"
|
|
35
|
-
|
|
45
|
+
"scripts": {
|
|
46
|
+
"doctor": "node ./bin/archsight-aios.mjs doctor",
|
|
47
|
+
"install:user": "node ./bin/archsight-aios.mjs install --target all --scope user",
|
|
48
|
+
"smoke:project": "node ./bin/archsight-aios.mjs validate --temp",
|
|
49
|
+
"validate:skills": "node ./scripts/validate-skills.mjs",
|
|
50
|
+
"test": "node ./tests/cli.test.mjs"
|
|
51
|
+
},
|
|
36
52
|
"engines": {
|
|
37
53
|
"node": ">=18"
|
|
38
54
|
},
|
|
39
|
-
"files": [
|
|
40
|
-
"bin/",
|
|
41
|
-
"
|
|
55
|
+
"files": [
|
|
56
|
+
"bin/",
|
|
57
|
+
"scripts/",
|
|
58
|
+
"adapters/",
|
|
59
|
+
"skills/",
|
|
42
60
|
"workflows/",
|
|
43
61
|
"templates/",
|
|
44
62
|
"runtime/",
|
|
@@ -52,11 +70,14 @@
|
|
|
52
70
|
"standards/",
|
|
53
71
|
"infra/",
|
|
54
72
|
"prompts/",
|
|
55
|
-
"vision/",
|
|
56
|
-
"docs/",
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
73
|
+
"vision/",
|
|
74
|
+
"docs/",
|
|
75
|
+
".claude-plugin/",
|
|
76
|
+
"gemini-extension.json",
|
|
77
|
+
"LICENSE",
|
|
78
|
+
"CHANGELOG.md",
|
|
79
|
+
"RELEASE_NOTES.md",
|
|
80
|
+
"CONTRIBUTING.md",
|
|
60
81
|
"SECURITY.md",
|
|
61
82
|
"CODE_OF_CONDUCT.md",
|
|
62
83
|
"README.md",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"name": "archsight-aios",
|
|
4
|
-
"version": "
|
|
5
|
-
"description": "ArchSight AIOS agent, skill, workflow, runtime, and project-template registry.",
|
|
4
|
+
"version": "1.2.0",
|
|
5
|
+
"description": "ArchSight AIOS agent, skill, workflow, runtime, and project-template registry for building-industry knowledge workers and AI engineering teams.",
|
|
6
6
|
"agents": [
|
|
7
7
|
{
|
|
8
8
|
"id": "atlas",
|
|
@@ -132,14 +132,56 @@
|
|
|
132
132
|
"path": "skills/aios-runtime/SKILL.md",
|
|
133
133
|
"openaiConfigPath": "skills/aios-runtime/agents/openai.yaml"
|
|
134
134
|
},
|
|
135
|
-
{
|
|
136
|
-
"id": "aios-exec",
|
|
137
|
-
"primaryAgent": "hephaestus",
|
|
138
|
-
"defaultWorkflow": "feature-development",
|
|
139
|
-
"path": "skills/aios-exec/SKILL.md",
|
|
140
|
-
"openaiConfigPath": "skills/aios-exec/agents/openai.yaml"
|
|
141
|
-
}
|
|
142
|
-
|
|
135
|
+
{
|
|
136
|
+
"id": "aios-exec",
|
|
137
|
+
"primaryAgent": "hephaestus",
|
|
138
|
+
"defaultWorkflow": "feature-development",
|
|
139
|
+
"path": "skills/aios-exec/SKILL.md",
|
|
140
|
+
"openaiConfigPath": "skills/aios-exec/agents/openai.yaml"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"id": "aios-commercial-tender",
|
|
144
|
+
"primaryAgent": "mason",
|
|
145
|
+
"defaultWorkflow": "review",
|
|
146
|
+
"path": "skills/aios-commercial-tender/SKILL.md",
|
|
147
|
+
"openaiConfigPath": "skills/aios-commercial-tender/agents/openai.yaml"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"id": "aios-commercial-contract",
|
|
151
|
+
"primaryAgent": "argus",
|
|
152
|
+
"defaultWorkflow": "review",
|
|
153
|
+
"path": "skills/aios-commercial-contract/SKILL.md",
|
|
154
|
+
"openaiConfigPath": "skills/aios-commercial-contract/agents/openai.yaml"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"id": "aios-construction-daily",
|
|
158
|
+
"primaryAgent": "mason",
|
|
159
|
+
"defaultWorkflow": "site-daily-loop",
|
|
160
|
+
"path": "skills/aios-construction-daily/SKILL.md",
|
|
161
|
+
"openaiConfigPath": "skills/aios-construction-daily/agents/openai.yaml"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": "aios-construction-meeting",
|
|
165
|
+
"primaryAgent": "mason",
|
|
166
|
+
"defaultWorkflow": "site-daily-loop",
|
|
167
|
+
"path": "skills/aios-construction-meeting/SKILL.md",
|
|
168
|
+
"openaiConfigPath": "skills/aios-construction-meeting/agents/openai.yaml"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": "aios-commercial-variation",
|
|
172
|
+
"primaryAgent": "argus",
|
|
173
|
+
"defaultWorkflow": "site-daily-loop",
|
|
174
|
+
"path": "skills/aios-commercial-variation/SKILL.md",
|
|
175
|
+
"openaiConfigPath": "skills/aios-commercial-variation/agents/openai.yaml"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"id": "aios-construction-scheme",
|
|
179
|
+
"primaryAgent": "vitruvius",
|
|
180
|
+
"defaultWorkflow": "review",
|
|
181
|
+
"path": "skills/aios-construction-scheme/SKILL.md",
|
|
182
|
+
"openaiConfigPath": "skills/aios-construction-scheme/agents/openai.yaml"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
143
185
|
"workflows": [
|
|
144
186
|
{
|
|
145
187
|
"id": "architecture-review",
|
|
@@ -177,11 +219,15 @@
|
|
|
177
219
|
"id": "frontend-generation",
|
|
178
220
|
"path": "workflows/frontend-generation.md"
|
|
179
221
|
},
|
|
180
|
-
{
|
|
181
|
-
"id": "rag-pipeline",
|
|
182
|
-
"path": "workflows/rag-pipeline.md"
|
|
183
|
-
}
|
|
184
|
-
|
|
222
|
+
{
|
|
223
|
+
"id": "rag-pipeline",
|
|
224
|
+
"path": "workflows/rag-pipeline.md"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"id": "site-daily-loop",
|
|
228
|
+
"path": "workflows/site-daily-loop.md"
|
|
229
|
+
}
|
|
230
|
+
],
|
|
185
231
|
"routes": [
|
|
186
232
|
{
|
|
187
233
|
"taskType": "建筑行业软件 / 系统深度评价、项目立项、产品定位、商业目标、范围取舍",
|
|
@@ -243,13 +289,49 @@
|
|
|
243
289
|
"agent": "daedalus",
|
|
244
290
|
"workflow": "rag-pipeline"
|
|
245
291
|
},
|
|
246
|
-
{
|
|
247
|
-
"taskType": "建筑行业项目中的受控代码修改、文档、脚本、测试",
|
|
248
|
-
"skill": "aios-exec",
|
|
249
|
-
"agent": "hephaestus",
|
|
250
|
-
"workflow": "feature-development"
|
|
251
|
-
}
|
|
252
|
-
|
|
292
|
+
{
|
|
293
|
+
"taskType": "建筑行业项目中的受控代码修改、文档、脚本、测试",
|
|
294
|
+
"skill": "aios-exec",
|
|
295
|
+
"agent": "hephaestus",
|
|
296
|
+
"workflow": "feature-development"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"taskType": "工程招投标响应、评分点、废标风险和技术标资料矩阵",
|
|
300
|
+
"skill": "aios-commercial-tender",
|
|
301
|
+
"agent": "mason",
|
|
302
|
+
"workflow": "review"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"taskType": "工程合同履约节点、付款条件、责任边界和资料缺口",
|
|
306
|
+
"skill": "aios-commercial-contract",
|
|
307
|
+
"agent": "argus",
|
|
308
|
+
"workflow": "review"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"taskType": "施工日报、现场异常、项目群记录和问题追踪台账",
|
|
312
|
+
"skill": "aios-construction-daily",
|
|
313
|
+
"agent": "mason",
|
|
314
|
+
"workflow": "site-daily-loop"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"taskType": "工程会议纪要、待办闭环、遗留争议和下次追踪",
|
|
318
|
+
"skill": "aios-construction-meeting",
|
|
319
|
+
"agent": "mason",
|
|
320
|
+
"workflow": "site-daily-loop"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"taskType": "工程变更签证资料链、联系单、图纸变更和索赔线索",
|
|
324
|
+
"skill": "aios-commercial-variation",
|
|
325
|
+
"agent": "argus",
|
|
326
|
+
"workflow": "site-daily-loop"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"taskType": "专项施工方案、危险源、交底要点和规范/计算书复核清单",
|
|
330
|
+
"skill": "aios-construction-scheme",
|
|
331
|
+
"agent": "vitruvius",
|
|
332
|
+
"workflow": "review"
|
|
333
|
+
}
|
|
334
|
+
],
|
|
253
335
|
"projectTemplate": {
|
|
254
336
|
"path": "templates/project-ai",
|
|
255
337
|
"requiredFiles": [
|
|
@@ -291,9 +373,10 @@
|
|
|
291
373
|
}
|
|
292
374
|
],
|
|
293
375
|
"installTargets": {
|
|
294
|
-
"codexSkills": "~/.codex/skills",
|
|
295
|
-
"codexWorkflows": "~/.codex/workflows/aios",
|
|
296
|
-
"
|
|
376
|
+
"codexSkills": "~/.codex/skills",
|
|
377
|
+
"codexWorkflows": "~/.codex/workflows/aios",
|
|
378
|
+
"workBuddySkills": "~/.workbuddy/skills",
|
|
379
|
+
"sharedAgentSkills": "~/.agents/skills",
|
|
297
380
|
"sharedAgentWorkflows": "~/.agents/workflows/aios",
|
|
298
381
|
"geminiInstructions": "~/.gemini/GEMINI.md",
|
|
299
382
|
"antigravityPlugin": "~/.gemini/config/plugins/archsight-aios",
|
|
@@ -75,8 +75,18 @@
|
|
|
75
75
|
{
|
|
76
76
|
"id": "knowledge.norm_lookup",
|
|
77
77
|
"type": "compliance_lookup",
|
|
78
|
-
"ownerAgents": ["vitruvius", "athena"],
|
|
79
|
-
"allowedSkills": [
|
|
78
|
+
"ownerAgents": ["vitruvius", "athena", "mason", "argus"],
|
|
79
|
+
"allowedSkills": [
|
|
80
|
+
"aios-knowledge",
|
|
81
|
+
"aios-arch",
|
|
82
|
+
"aios-ceo",
|
|
83
|
+
"aios-commercial-tender",
|
|
84
|
+
"aios-commercial-contract",
|
|
85
|
+
"aios-construction-daily",
|
|
86
|
+
"aios-construction-meeting",
|
|
87
|
+
"aios-commercial-variation",
|
|
88
|
+
"aios-construction-scheme"
|
|
89
|
+
],
|
|
80
90
|
"authorityLevel": "L3",
|
|
81
91
|
"description": "按地区、专业、版本、条文和适用条件检索规范知识,返回可追溯引用和适用性判断。",
|
|
82
92
|
"status": "declared-interface",
|
package/runtime/skill-routing.md
CHANGED
|
@@ -28,6 +28,12 @@
|
|
|
28
28
|
| 建筑行业项目中的 Prompt / Context / Memory / MCP / Tool | `aios-runtime` | Daedalus | `architecture-review` |
|
|
29
29
|
| 建筑行业知识库 / 工程知识 RAG / GraphRAG Pipeline | `aios-runtime` | Daedalus | `rag-pipeline` |
|
|
30
30
|
| 建筑行业项目中的受控代码修改、文档、脚本、测试 | `aios-exec` | Hephaestus | `feature-development` |
|
|
31
|
+
| 工程招投标响应、评分点、废标风险和技术标资料矩阵 | `aios-commercial-tender` | Mason | `review` |
|
|
32
|
+
| 工程合同履约节点、付款条件、责任边界和资料缺口 | `aios-commercial-contract` | Argus | `review` |
|
|
33
|
+
| 施工日报、现场异常、项目群记录和问题追踪台账 | `aios-construction-daily` | Mason | `site-daily-loop` |
|
|
34
|
+
| 工程会议纪要、待办闭环、遗留争议和下次追踪 | `aios-construction-meeting` | Mason | `site-daily-loop` |
|
|
35
|
+
| 工程变更签证资料链、联系单、图纸变更和索赔线索 | `aios-commercial-variation` | Argus | `site-daily-loop` |
|
|
36
|
+
| 专项施工方案、危险源、交底要点和规范 / 计算书复核清单 | `aios-construction-scheme` | Vitruvius | `review` |
|
|
31
37
|
|
|
32
38
|
## 路由原则
|
|
33
39
|
|
|
@@ -40,6 +46,7 @@
|
|
|
40
46
|
- `aios-design` 用于实现前判断界面方案是否支撑建筑行业审查、定位、复核、追溯和交付;不替代 `frontend-generation` 的 UI 实现、布局验证和交互验证,也不替代通用 `frontend-design` 的视觉风格和前端代码美化评审。
|
|
41
47
|
- `aios-arch` 应补足通用架构评审缺失的建筑行业平台视角,包括 BIM / IFC、规范知识链路、审图证据链、RAG / GraphRAG、任务编排、审计和后端运行可靠性。
|
|
42
48
|
- `aios-structural` 用于结构力学、荷载、边界条件、FEM 和求解器接口评审;它不能替代结构工程师签审,关键数值必须来自 Capability 或项目已有求解器证据。
|
|
49
|
+
- `aios-commercial-tender`、`aios-commercial-contract`、`aios-construction-daily`、`aios-construction-meeting`、`aios-commercial-variation` 和 `aios-construction-scheme` 属于工程业务管理增强;它们只处理建筑工程资料的抽取、证据链整理、风险提示和人工复核分流,不扩展为 HR、行政、财务等通用职能 Skill。
|
|
43
50
|
- Agent 可以调用多个 Skill;Skill 也可以被多个 Agent 复用。
|
|
44
51
|
- 项目工作目录中的事实优先于 AIOS 的通用模板。
|
|
45
52
|
- Hermes / 飞书只是可选入口和调度适配器,不替代本地验证,也不是 AIOS 的必要前提。
|
|
@@ -56,6 +63,8 @@
|
|
|
56
63
|
- 涉及结构力学、荷载、边界条件、FEM 或结构计算工具链:升级给 Euclid,并优先使用 `aios-structural`。
|
|
57
64
|
- 涉及 RAG、GraphRAG、MCP、Tool Calling、Memory:升级给 Daedalus。
|
|
58
65
|
- 涉及具体代码、脚本、测试、文档执行:交给 Hephaestus。
|
|
66
|
+
- 涉及工程现场日报、会议闭环或变更签证线索:升级给 Mason 编排 `site-daily-loop`,并按资料类型调用 `aios-construction-daily`、`aios-construction-meeting` 或 `aios-commercial-variation`。
|
|
67
|
+
- 涉及工程合同、招投标或专项施工方案:按风险类型分别交给 Argus、Mason 或 Vitruvius;涉及规范、计算或签审结论时必须保留人工复核或 Capability 证据。
|
|
59
68
|
|
|
60
69
|
## 项目接入
|
|
61
70
|
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import fs from "node:fs";
|
|
4
|
+
import path from "node:path";
|
|
5
|
+
|
|
6
|
+
const root = fs.realpathSync(process.cwd());
|
|
7
|
+
const errors = [];
|
|
8
|
+
|
|
9
|
+
function repoPath(...parts) {
|
|
10
|
+
const target = path.join(root, ...parts);
|
|
11
|
+
const relative = path.relative(root, target);
|
|
12
|
+
if (relative.startsWith("..") || path.isAbsolute(relative)) {
|
|
13
|
+
throw new Error(`Path traversal detected: ${target}`);
|
|
14
|
+
}
|
|
15
|
+
return target;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function readJson(relativePath) {
|
|
19
|
+
const filePath = repoPath(relativePath);
|
|
20
|
+
try {
|
|
21
|
+
return JSON.parse(fs.readFileSync(filePath, "utf8"));
|
|
22
|
+
} catch (error) {
|
|
23
|
+
errors.push(`${relativePath}: invalid JSON (${error.message})`);
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function readText(relativePath) {
|
|
29
|
+
try {
|
|
30
|
+
return fs.readFileSync(repoPath(relativePath), "utf8");
|
|
31
|
+
} catch (error) {
|
|
32
|
+
errors.push(`${relativePath}: ${error.message}`);
|
|
33
|
+
return "";
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function exists(relativePath) {
|
|
38
|
+
return fs.existsSync(repoPath(relativePath));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function parseFrontmatter(raw, file) {
|
|
42
|
+
const match = raw.match(/^---\r?\n([\s\S]*?)\r?\n---/);
|
|
43
|
+
if (!match) {
|
|
44
|
+
errors.push(`${file}: missing frontmatter`);
|
|
45
|
+
return {};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
const fields = {};
|
|
49
|
+
for (const line of match[1].split(/\r?\n/)) {
|
|
50
|
+
const field = line.match(/^([A-Za-z0-9_-]+):\s*(.*)$/);
|
|
51
|
+
if (field) fields[field[1]] = field[2].trim();
|
|
52
|
+
}
|
|
53
|
+
return fields;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function check(condition, message) {
|
|
57
|
+
if (!condition) errors.push(message);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
const manifest = readJson("runtime/archsight-aios.manifest.json");
|
|
61
|
+
const packageJson = readJson("package.json");
|
|
62
|
+
const geminiExtension = readJson("gemini-extension.json");
|
|
63
|
+
const claudePlugin = readJson(".claude-plugin/plugin.json");
|
|
64
|
+
const claudeMarketplace = readJson(".claude-plugin/marketplace.json");
|
|
65
|
+
|
|
66
|
+
if (manifest) {
|
|
67
|
+
const manifestSkillIds = new Set(manifest.skills.map((skill) => skill.id));
|
|
68
|
+
const skillDirs = fs
|
|
69
|
+
.readdirSync(repoPath("skills"), { withFileTypes: true })
|
|
70
|
+
.filter((entry) => entry.isDirectory() && entry.name.startsWith("aios-"))
|
|
71
|
+
.map((entry) => entry.name)
|
|
72
|
+
.sort();
|
|
73
|
+
|
|
74
|
+
check(
|
|
75
|
+
JSON.stringify([...manifestSkillIds].sort()) === JSON.stringify(skillDirs),
|
|
76
|
+
"runtime/archsight-aios.manifest.json: skills must cover repository skill directories"
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
for (const skill of manifest.skills) {
|
|
80
|
+
const skillFile = skill.path;
|
|
81
|
+
const configFile = skill.openaiConfigPath;
|
|
82
|
+
check(/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(skill.id), `${skillFile}: skill id must be kebab-case`);
|
|
83
|
+
check(exists(skillFile), `${skillFile}: missing`);
|
|
84
|
+
check(exists(configFile), `${configFile}: missing`);
|
|
85
|
+
|
|
86
|
+
const raw = readText(skillFile);
|
|
87
|
+
const frontmatter = parseFrontmatter(raw, skillFile);
|
|
88
|
+
check(frontmatter.name === skill.id, `${skillFile}: frontmatter name must be ${skill.id}`);
|
|
89
|
+
check(Boolean(frontmatter.description), `${skillFile}: missing frontmatter description`);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
if (packageJson) {
|
|
94
|
+
const requiredFiles = ["skills/", "scripts/", ".claude-plugin/", "gemini-extension.json"];
|
|
95
|
+
for (const requiredFile of requiredFiles) {
|
|
96
|
+
check(packageJson.files?.includes(requiredFile), `package.json: files must include ${requiredFile}`);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
const requiredKeywords = ["agent-skills", "skills-sh", "gemini-cli", "claude-code", "workbuddy", "construction-ai"];
|
|
100
|
+
for (const keyword of requiredKeywords) {
|
|
101
|
+
check(packageJson.keywords?.includes(keyword), `package.json: keywords must include ${keyword}`);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
check(
|
|
105
|
+
packageJson.scripts?.["validate:skills"] === "node ./scripts/validate-skills.mjs",
|
|
106
|
+
"package.json: missing validate:skills script"
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
if (geminiExtension && packageJson) {
|
|
111
|
+
check(geminiExtension.name === "archsight-aios", "gemini-extension.json: name must be archsight-aios");
|
|
112
|
+
check(geminiExtension.version === packageJson.version, "gemini-extension.json: version must match package.json");
|
|
113
|
+
check(geminiExtension.contextFileName === "GEMINI.md", "gemini-extension.json: contextFileName must be GEMINI.md");
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
if (claudePlugin && packageJson) {
|
|
117
|
+
check(claudePlugin.name === "archsight-aios", ".claude-plugin/plugin.json: name must be archsight-aios");
|
|
118
|
+
check(claudePlugin.version === packageJson.version, ".claude-plugin/plugin.json: version must match package.json");
|
|
119
|
+
check(claudePlugin.skills === "./skills/", ".claude-plugin/plugin.json: skills must point to ./skills/");
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
if (claudeMarketplace) {
|
|
123
|
+
const plugin = claudeMarketplace.plugins?.find((item) => item.name === "archsight-aios");
|
|
124
|
+
check(Boolean(plugin), ".claude-plugin/marketplace.json: must include archsight-aios plugin");
|
|
125
|
+
check(plugin?.skills === "./skills/", ".claude-plugin/marketplace.json: skills must point to ./skills/");
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
if (errors.length > 0) {
|
|
129
|
+
console.error(`Skill validation failed with ${errors.length} error(s):`);
|
|
130
|
+
for (const error of errors) console.error(`- ${error}`);
|
|
131
|
+
process.exit(1);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
console.log("Skill validation passed.");
|
package/skills/README.md
CHANGED
|
@@ -60,3 +60,16 @@ Skill 可以继续用 `SKILL.md` 表达操作方法,但涉及确定性工具
|
|
|
60
60
|
| `aios-knowledge` | BIM、IFC、建筑规范、审图规则和知识结构化。 |
|
|
61
61
|
| `aios-structural` | 结构力学、荷载、边界条件、FEM 和确定性求解链路评审。 |
|
|
62
62
|
| `aios-runtime` | Prompt、Context、Memory、MCP/Tool、RAG/GraphRAG 和多 Agent Runtime 设计。 |
|
|
63
|
+
|
|
64
|
+
工程业务管理技能包 (Engineering Project Management):
|
|
65
|
+
|
|
66
|
+
| Skill | 用途 |
|
|
67
|
+
| --- | --- |
|
|
68
|
+
| `aios-commercial-tender` | 工程招投标响应证据链,用于提取评分点、资格条件、废标风险、资料缺口和人工复核事项。 |
|
|
69
|
+
| `aios-commercial-contract` | 工程分包、采购和补充协议履约证据链,用于提取节点、责任边界、付款条件和合同资料缺口。 |
|
|
70
|
+
| `aios-construction-daily` | 现场施工日报证据链,用于提取管理摘要、异常、问题台账、计划偏差和需补充确认事项。 |
|
|
71
|
+
| `aios-construction-meeting` | 工程现场会议待办闭环,用于将会议讨论转化为责任人、期限、争议点和下次追踪清单。 |
|
|
72
|
+
| `aios-commercial-variation` | 工程变更签证资料链审查,用于梳理联系单、纪要、图纸变更、合同流程和资料断点。 |
|
|
73
|
+
| `aios-construction-scheme` | 专项施工方案证据链辅审,用于提取危险源、交底要点、规范核验点、计算书缺口和专家复核事项。 |
|
|
74
|
+
|
|
75
|
+
工程业务管理 Skill 只处理建筑工程资料抽取、证据链整理、风险提示和人工复核分流,不替代法务、造价、监理、安全、项目经理、总工或专家签审。涉及规范、制度、结构计算、质量安全、金额、工期索赔或责任归属时,必须输出 `Claim / Evidence / Tool Result / Decision`;没有工具或人工证据时只能标注 `Need verify` 或 `Hold for human`。
|