-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
43 lines (37 loc) · 1.29 KB
/
Copy pathaction.yml
File metadata and controls
43 lines (37 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: WhatTheAgent
description: Run WhatTheAgent to understand AI agent capabilities and upload local reports.
author: Rosh1106
inputs:
workspace:
description: Workspace path to scan.
required: false
default: .
output-dir:
description: Directory where WhatTheAgent should write outputs.
required: false
default: .wta
profile:
description: Workspace profile: workspace, personal-agent, openclaw, or hermes.
required: false
default: workspace
version:
description: WhatTheAgent npm version to install.
required: false
default: latest
generate-instructions:
description: Whether to generate Codex instructions into the output directory.
required: false
default: "true"
runs:
using: composite
steps:
- name: Install WhatTheAgent
shell: bash
run: npm install -g "whattheagent@${{ inputs.version }}" --ignore-scripts
- name: Understand agent workspace
shell: bash
run: wta understand "${{ inputs.workspace }}" --profile "${{ inputs.profile }}" --output "${{ inputs.output-dir }}" --json --no-color
- name: Generate Codex instructions
if: ${{ inputs.generate-instructions == 'true' }}
shell: bash
run: wta instructions --for-codex --output "${{ inputs.output-dir }}/codex-instructions.md"