Agent skill

Add Console API Feature

by wso2 in wso2/agent-manager

Add an API-backed feature to the console (React/TypeScript web UI).

Apache-2.0Auto-check passedFrontend & Design

Install Add Console API Feature

skills CLI
$ npx skills add wso2/agent-manager --skill add-console-api-feature -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wso2/agent-manager add-console-api-feature --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/wso2/agent-manager.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/add-console-api-feature .claude/skills/add-console-api-feature && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
add-console-api-feature
GitHub stars
105
Token cost
~761 tokens
SKILL.md length
257 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
Apache-2.0

At a glance

Add an API-backed feature to the console (React/TypeScript web UI).

  • Works in 5 steps: Fetch fn —… → Hook —… → Export both from the package barrels… → …
  • The user asks to call a new backend endpoint from the console
  • SKILL.md covers Steps, Conventions that matter, Commands and Done checklist
  • Calls make

What it does

Add Console API Feature is an agent skill from wso2/agent-manager. Add an API-backed feature to the console (React/TypeScript web UI). Use when the user asks to call a new backend endpoint from the console, add a data-fetching hook, wire a mutation, or build a feature page that talks to agent-manager-service. Enforces the mandatory two-file API pattern (apis/ + hooks/), TanStack Query conventions, and page registration.

Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Frontend development. It works with TanStack, React and TypeScript. The repository describes itself as: WSO2 AI Agent Manager is an open control plane designed for enterprises to deploy, manage, and govern AI agents at scale. The licence is Apache-2.0.

When your agent uses it

  • The user asks to call a new backend endpoint from the console
  • Add a data-fetching hook
  • Wire a mutation
  • Build a feature page that talks to agent-manager-service

Example prompts

  • “/add-console-api-feature”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Fetch fn — workspaces/libs/api-client/src/apis/.ts. Pure function taking params (path), query (search), getToken. Use the…
  2. Hook — workspaces/libs/api-client/src/hooks/.ts. Wrap with useApiQuery / useApiMutation (from ./react-query-notifications), not raw…
  3. Export both from the package barrels (apis/index.ts, hooks/index.ts).
  4. Consume the hook in a page under workspaces/pages//.
  5. Register the page — export metaData ({ title, icon, path, component }) from the feature package's index.ts; wire the route in core-ui…

What it can do on your machine

Read from SKILL.md and the folder at commit 6d4af26. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • make

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Add Console API Feature loads about 761 tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 257 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~761

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from wso2/agent-manager at commit 6d4af26, republished under its Apache-2.0 licence (© wso2). 257 words, ~761 tokens.

Download SKILL.mdSave it as .claude/skills/add-console-api-feature/SKILL.md (or your agent's skills folder).
name
add-console-api-feature
description
Add an API-backed feature to the console (React/TypeScript web UI). Use when the user asks to call a new backend endpoint from the console, add a data-fetching hook, wire a mutation, or build a feature page that talks to agent-manager-service. Enforces the mandatory two-file API pattern (apis/ + hooks/), TanStack Query conventions, and page registration.

Add an API-backed feature (console)

Read first: console/AGENTS.md → "Golden path", "The two-file API pattern", "Routing". For UI components/theming see console/.ai/oxygen-ui/AGENTS.md. This skill is the executable checklist.

Steps

  1. Fetch fn — workspaces/libs/api-client/src/apis/<resource>.ts. Pure function taking params (path), query (search), getToken. Use the httpGET/POST/PUT/PATCH/DELETE helpers from ../utils (they read globalConfig.apiBaseUrl and set the Bearer header) — never hand-roll fetch. Prefix API paths with SERVICE_BASE (/api/v1), or OBS_SERVICE_BASE for the observability service.
  2. Hook — workspaces/libs/api-client/src/hooks/<resource>.ts. Wrap with useApiQuery / useApiMutation (from ./react-query-notifications), not raw useQuery/useMutation — the wrappers auto-fire snackbars. Get the token from useAuthHooks().getToken and pass it into the fetch fn.
  3. Export both from the package barrels (apis/index.ts, hooks/index.ts).
  4. Consume the hook in a page under workspaces/pages/<feature>/.
  5. Register the page — export metaData ({ title, icon, path, component }) from the feature package's index.ts; wire the route in core-ui using the generated route maps.

Conventions that matter

  • queryKey is a tuple: [domain, params, query] for a detail, [domain] for a collection. Invalidation is prefix-based — qc.invalidateQueries({ queryKey: ["agents"] }) clears every ["agents", …]. Invalidate in the mutation's onSuccess.
  • useApiMutation takes action: { verb, target } → renders "Agent created successfully". Set it.
  • Routing: use relativeRouteMap.…path for <Route path=…> and absoluteRouteMap.…path + generatePath(path, {...}) for links. Never hardcode path strings.
  • UI imports from @wso2/oxygen-ui, not @mui/material. Forms are manual useState + inline validation (no react-hook-form).

Commands

bash
# from inside the changed package dir:
rushx lint            # eslint (flat config)
rushx build           # build → dist/
rushx test            # vitest
# from console/:
make build            # rush build (cross-package changes)
make dev              # dev server → http://localhost:3000

Done checklist

  • Fetch fn + hook follow the two-file pattern and are exported from the barrels.
  • Mutation invalidates the right prefix queryKey in onSuccess.
  • Token comes from useAuthHooks().getToken.
  • Page exports metaData and is routed via the generated route maps.
  • rushx lint + rushx build clean for touched packages.

© wso2, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/add-console-api-feature of wso2/agent-manager.

Open the folder on GitHubat commit 6d4af26

Compare with similar skills

Add Console API Feature next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Add Console API Feature compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Console API Feature this skillwso2/agent-manager105—~761Automated safety check: PassApache-2.0
React Frontend Development Guidelinesdiet103/claude-code-infrastructure-showcase10k2 repos~2.9kAutomated safety check: PassMIT
React ExpertJeffallan/claude-skills12k—~1.4kAutomated safety check: PassMIT
Wagmi Feature Developmentwevm/wagmi6.8k—~3.8kAutomated safety check: PassMIT
Senior FrontendOhh-889/skyroc7952 repos~1.1kAutomated safety check: NotesMIT
Dashboard Builder for holaOSholaboss-ai/holaOS11k—~6.3kAutomated safety check: PassCustom licence

Similar skills

  • React Frontend Development Guidelines

    diet103/claude-code-infrastructure-showcase

    Guidelines for React 18 and TypeScript apps covering Suspense data fetching, lazy loading, feature folders, MUI v7 styling, TanStack Router and performance.

    10k GitHub starsUsed in 2 repos~2.9k tokens
    Frontend & DesignAuto-check passed
  • React Expert

    Jeffallan/claude-skills

    Builds React 19 components in TypeScript with Server Components, useActionState forms, custom hooks and state libraries, checked with tsc and React Testing Library.

    12k GitHub stars~1.4k tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Walks through adding a Wagmi feature across its layers: a Viem-based core action, TanStack Query options, and React and Vue bindings.

    6.8k GitHub stars~3.8k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Senior Frontend

    Ohh-889/skyroc

    Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS.

    795 GitHub starsUsed in 2 repos~1.1k tokens
    Frontend & DesignAuto-check: notes
  • Builds the visual layer of a holaOS dashboard app with TanStack Start and @holaboss/ui, starting from a bundled reference instead of a blank page.

    11k GitHub stars~6.3k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed
  • Morphous Catalog

    Ameyanagi/morphos

    Create or refresh Morphous website design-system/theme bundles from animal, insect, plant, landscape, mineral, weather, or other nature motifs.

    102 GitHub stars~2.1k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed

More from wso2/agent-manager

  • Add Audit Event

    wso2/agent-manager

    Add a semantic audit event to agent-manager-service (the Go control plane).

    105 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Add Evaluator

    wso2/agent-manager

    Add a new evaluator to the amp-evaluation Python library. An agent skill from wso2/agent-manager.

    105 GitHub stars~710 tokensUpdated today
    Auto-check passed
  • Add Service Unit Test

    wso2/agent-manager

    Write a service-layer unit test in agent-manager-service (the Go control plane).

    105 GitHub stars~997 tokensUpdated today
    Auto-check passed
  • Add API Resource

    wso2/agent-manager

    Add or change a REST API resource in agent-manager-service (the Go control plane).

    105 GitHub stars~1.1k tokensUpdated today
    Auto-check passed

Questions about Add Console API Feature

What does Add Console API Feature do?

Add an API-backed feature to the console (React/TypeScript web UI). Add Console API Feature is an agent skill from wso2/agent-manager. Add an API-backed feature to the console (React/TypeScript web UI).

When should I use Add Console API Feature?

Add Console API Feature fits situations like: the user asks to call a new backend endpoint from the console; add a data-fetching hook; wire a mutation; build a feature page that talks to agent-manager-service.

How do I install Add Console API Feature in Claude Code?

Run `npx skills add wso2/agent-manager --skill add-console-api-feature -a claude-code`. Or copy the skill folder (.claude/skills/add-console-api-feature in wso2/agent-manager) into .claude/skills/add-console-api-feature in your project. Claude Code loads it when a task matches its description.

How do I install Add Console API Feature in Codex?

Run `npx skills add wso2/agent-manager --skill add-console-api-feature -a codex`. Or copy the skill folder (.claude/skills/add-console-api-feature in wso2/agent-manager) into .agents/skills/add-console-api-feature in your project. Codex loads it when a task matches its description.

Can I use Add Console API Feature in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wso2/agent-manager --skill add-console-api-feature -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-console-api-feature, .gemini/skills/add-console-api-feature, .github/skills/add-console-api-feature and .opencode/skills/add-console-api-feature in your project.

What does Add Console API Feature need to run?

Going by SKILL.md and its folder, Add Console API Feature needs the command-line tools its instructions call (make).

Does Add Console API Feature access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Add Console API Feature safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Add Console API Feature use?

Add Console API Feature is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Add Console API Feature use?

About 761 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Add Console API Feature?

Skills that share tags, products or a category with Add Console API Feature: React Frontend Development Guidelines (diet103/claude-code-infrastructure-showcase, 10k stars), React Expert (Jeffallan/claude-skills, 12k stars), Wagmi Feature Development (wevm/wagmi, 6.8k stars) and Senior Frontend (Ohh-889/skyroc, 795 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Console API Feature?

wso2 (a GitHub organization) maintains it in wso2/agent-manager, which has 105 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 7, 2026.

Source: wso2/agent-manager on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.