Skip to content

vngcloud/greennode-agentbase-skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GreenNode AgentBase Skills

A bundle of SKILL.md-compatible skills that drive the full GreenNode AgentBase lifecycle — scaffold → configure → code → test → deploy → monitor → teardown — from inside your AI coding tool.

Drop them into Claude Code, OpenAI Codex, or any other SKILL.md-aware client and you get slash commands like /agentbase-wizard, /agentbase-deploy, /agentbase-monitor. The skills are plain Markdown + shell — no client-specific runtime — so the full lifecycle works in every tool that can read SKILL.md and run a shell.


Install in 30 Seconds

Claude Code

claude plugin marketplace add vngcloud/greennode-agentbase-skills

Then inside Claude Code:

/plugin install greennode-agentbase@greennode-agentbase

Team distribution — add to your project's .claude/settings.json so teammates are prompted to install automatically:

{
  "extraKnownMarketplaces": {
    "greennode-agentbase": {
      "source": { "source": "github", "repo": "vngcloud/greennode-agentbase-skills" }
    }
  }
}

Codex CLI

codex plugin marketplace add vngcloud/greennode-agentbase-skills

Then install the plugin:

codex plugin add greennode-agentbase@greennode-agentbase

Compatibility

Tool Install method Shell scripts supported
Claude Code claude plugin marketplace add Yes
Codex CLI codex plugin marketplace add Yes

Prerequisites

Before any skill that hits the platform, set GreenNode IAM credentials:

export GREENNODE_CLIENT_ID="<service-account-client-id>"
export GREENNODE_CLIENT_SECRET="<service-account-secret>"

Put them in your shell profile or in a project-local .env (never commit it — .env.example is the tracked template).

Skills that only read local files (e.g. agentbase-wizard init) work without credentials.


Skills Index

Skill What it does
/agentbase-wizard Start here. Guided 9-step lifecycle: scaffold → configure → code → test → deploy → verify. Also handles init, test, resume.
/agentbase Platform reference — architecture, services, IAM, "which skill should I use".
/agentbase-identity Register agent identities; store API keys / OAuth2 credentials for external services (OpenAI, Google, Slack, …).
/agentbase-llm Manage platform LLM access — API keys, model catalog, rate limits, OpenAI-compatible endpoint.
/agentbase-memory Conversation history, semantic memory, long-term memory stores (LangChain/LangGraph integration).
/agentbase-deploy Build & push Docker image, create/update Custom Agent runtimes (PUBLIC/VPC), deploy OpenClaw Telegram/Zalo bots, manage the Container Registry.
/agentbase-monitor Runtime logs, endpoint logs, CPU/RAM metrics, unified resource dashboard.
/agentbase-gateway Resource Gateway (MCP) CRUD; inbound auth (NONE / IAM / JWT); per-target outbound auth (APIKEY / OAUTH 2LO / 3LO); VPC routes; Policy Group binding.
/agentbase-policy Authorization policies — Policy Groups, Policies, and statement bodies (effect / principal / actions / resources / condition). Enforced today on the Resource Gateway.
/agentbase-teardown Delete all resources for a project. Always supports --dry-run.

Lifecycle Map

┌────────────────────────────────────────────────────────┐
│ GET STARTED                                            │
│   /agentbase-wizard ────── guided A → Z                │
│   /agentbase ───────────── platform reference          │
├────────────────────────────────────────────────────────┤
│ BUILD & CONFIGURE                                      │
│   /agentbase-wizard init ── scaffold project           │
│   /agentbase-llm ────────── platform LLM access        │
│   /agentbase-identity ───── identities & external auth │
│   /agentbase-memory ─────── memory stores              │
├────────────────────────────────────────────────────────┤
│ TEST & DEPLOY                                          │
│   /agentbase-wizard test ── validate / local / docker  │
│   /agentbase-deploy ─────── build, push, deploy        │
├────────────────────────────────────────────────────────┤
│ OPERATE                                                │
│   /agentbase-monitor ────── logs, metrics, dashboard   │
│   /agentbase-gateway ────── Resource Gateway (MCP)     │
│   /agentbase-policy ─────── access policies            │
├────────────────────────────────────────────────────────┤
│ ADVANCED                                               │
│   /agentbase-deploy cr ──── Container Registry         │
│   /agentbase-teardown ───── delete everything          │
└────────────────────────────────────────────────────────┘

Common Subcommands

/agentbase-wizard   [init <name> [--langchain|--langgraph] | test [validate|local|docker|preflight] | resume | step-N | reset]
/agentbase-identity identity <create|list|get|update|delete>          [name]
                    auth     <apikey|delegated|oauth2> <create|list|get|update|delete|retrieve> [name]
/agentbase-llm      <api-keys|models> <create|list|get|update|delete|enable|disable|rate-limit> [name-or-uuid]
/agentbase-memory   memory  <create|list|get|delete> [id]
                    events  <list|create|delete>
                    records <browse|search|generate-from-session|generate-from-content|insert|delete>
/agentbase-deploy   Custom Agent: build → push → deploy, runtime CRUD, scale, versions
                    OpenClaw:     create|list|start|stop|switch-version (Telegram/Zalo templates)
                    Container Registry: repo info, credentials, images, artifacts
/agentbase-monitor  <runtime-logs|endpoint-logs|metrics|dashboard> [runtime-id] [endpoint-id]
/agentbase-gateway  <create|list|get|update|delete|routes|repair|flavors> [gateway-name]
/agentbase-policy   <group|policy> <create|list|get|update|delete> [group-id-or-name] [policy-id-or-name]
/agentbase-teardown <project-name> [--dry-run]

These skills are driven by natural language — the syntax above is a quick reference, not a strict CLI. Tell the model what you want and it picks the right operation.


End-to-End Example — Build a Chatbot

/agentbase-wizard init my-chatbot --langgraph   # scaffold
/agentbase-llm api-keys create my-chatbot-key   # platform LLM key
/agentbase-memory create                         # optional memory store
/agentbase-wizard test local                     # smoke test locally
/agentbase-deploy deploy                         # build → push → deploy
/agentbase-monitor runtime-logs <runtime-id>     # watch it run

Or, first time, just:

/agentbase-wizard

…and follow the prompts.


Troubleshooting

Symptom Fix
Skill doesn't appear Confirm the file is at <skills-dir>/<skill-name>/SKILL.md with valid name + description frontmatter, then restart the tool.
401 Unauthorized GREENNODE_CLIENT_ID / GREENNODE_CLIENT_SECRET missing, expired, or service account lacks IAM policies.
OOMKilled during deploy Pick a larger flavor — ask /agentbase-deploy to list eligible flavors and resize the runtime.
Want to resume a half-finished session State persists in .agentbase-state.json — run /agentbase-wizard resume.
Different skill behavior across tools Tightest validator wins (typically Claude Desktop). Re-read the SKILL.md frontmatter; description length / characters may need trimming.

Repo Layout

greennode-agentbase-skills/
├── .claude-plugin/             # Claude Code plugin + marketplace manifests
├── .codex-plugin/              # Codex app plugin manifest
├── .agents/plugins/            # Codex CLI marketplace manifest
├── skills/                     # <-- the skills you install
│   ├── agentbase/              # platform reference
│   ├── agentbase-wizard/       # guided full-lifecycle wizard
│   ├── agentbase-deploy/       # build, push, deploy + Container Registry + OpenClaw
│   ├── agentbase-identity/     # agent identities & outbound auth
│   ├── agentbase-llm/          # platform LLM API keys & models
│   ├── agentbase-memory/       # conversation + semantic memory
│   ├── agentbase-monitor/      # logs, metrics, dashboard
│   ├── agentbase-gateway/      # Resource Gateway (MCP)
│   ├── agentbase-policy/       # authorization policies
│   └── agentbase-teardown/     # delete all resources
└── README.md

Each skill folder contains a SKILL.md (the contract read by the AI tool) and any helper scripts/ or references/ it needs.


Contributing & Extending

  • Each skill is just a folder with a SKILL.md file — copy an existing one as a template.
  • Frontmatter (name, description) is a public contract — renaming breaks downstream tools. Update README.md cross-references when you rename.
  • Skill descriptions must satisfy the tightest client validator (typically Claude Desktop's character limit). Verify before committing.
  • Test the skill end-to-end in Claude Code (or your target client) before opening a PR — descriptions drive auto-routing, so a small wording change can shift which skill is picked.

Important Notes

  1. Verify IAM credentials first — the majority of platform errors are missing GREENNODE_CLIENT_ID / GREENNODE_CLIENT_SECRET or insufficient policies.
  2. Validate before deploy/agentbase-wizard test validate.
  3. Always --dry-run teardown before the real delete.
  4. Never commit .env — only .env.example is tracked.
  5. First time? Use /agentbase-wizard — it covers the full 9-step path.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors