Skip to content

Agent skill that turns natural language, code, Terraform/K8s, SQL, OpenAPI, AsyncAPI, Protobuf and GraphQL sources into editable, tested draw.io architecture diagrams: incremental sync, multi-view projection, drift diff, CI architecture tests, whiteboard derasterize, interactive HTML/PPTX/Mermaid exports.

fix(ci): write ClawHub token to config file directly

Agents365-ai479be60f873d
diff --git a/.github/workflows/publish-clawhub.yml b/.github/workflows/publish-clawhub.yml
index 3091cc2..499af40 100644
--- a/.github/workflows/publish-clawhub.yml
+++ b/.github/workflows/publish-clawhub.yml
@@ -21,8 +21,10 @@ jobs:
- name: Install ClawHub CLI
run: npm install -g clawhub
- - name: Authenticate with GitHub token
- run: clawhub auth login --token "${{ secrets.CLAWHUB_TOKEN }}" --no-browser
+ - name: Authenticate with ClawHub
+ run: |
+ mkdir -p "$HOME/.config/clawhub"
+ echo '{"registry":"https://clawhub.ai","token":"'"${{ secrets.CLAWHUB_TOKEN }}"'"}' > "$HOME/.config/clawhub/config.json"
- name: Publish skill
run: clawhub skill publish .