Agent skill

Add Adminapi Endpoint

by talkincode in talkincode/toughradius

Add a group of Admin REST endpoints in the management backend (TR-F012).

MITAuto-check passedBackend & APIs

Install Add Adminapi Endpoint

skills CLI
$ npx skills add talkincode/toughradius --skill add-adminapi-endpoint -a claude-code

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

GitHub CLI
$ gh skill install talkincode/toughradius add-adminapi-endpoint --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/talkincode/toughradius.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/add-adminapi-endpoint .claude/skills/add-adminapi-endpoint && 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-adminapi-endpoint
GitHub stars
691
Token cost
~461 tokens
SKILL.md length
111 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

Add a group of Admin REST endpoints in the management backend (TR-F012).

  • Works in 6 steps: New file internal/adminapi/.go, package… → Request structs: define the payload with… → register function → …
  • A feature needs management APIs such as create/read/update/delete
  • SKILL.md covers When to use, Pre-research, Implementation steps and Acceptance
  • Calls go

What it does

Add Adminapi Endpoint is an agent skill from talkincode/toughradius. Add a group of Admin REST endpoints in the management backend (TR-F012). Use when a feature needs management APIs such as create/read/update/delete.

Its SKILL.md is about 460 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 Backend & APIs, covering REST APIs. The repository describes itself as: A powerful, open-source RADIUS server designed for ISPs, enterprise networks, and carriers. Supports standard RADIUS protocols, a full EAP / 802.1X authentication suite (EAP-TLS… The licence is MIT.

When your agent uses it

  • A feature needs management APIs such as create/read/update/delete
  • Tasks that involve REST APIs

Example prompts

  • “/add-adminapi-endpoint”

Workflow steps

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

  1. New file internal/adminapi/.go, package adminapi.
  2. Request structs: define the payload with validate tags (reference nodePayload).
  3. register function
  4. Register in Init: add registerRoutes() to Init() in adminapi.go.
  5. Data access: always use app.GDB(); never inject *gorm.DB.
  6. Shared conventions: reuse pagination, filtering, validation, authz, unified responses, and error handling.

What it can do on your machine

Read from SKILL.md and the folder at commit 50907c9. 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:

    • go

    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 Adminapi Endpoint loads about 461 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 111 words of instructions outside code blocks.

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

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 talkincode/toughradius at commit 50907c9, republished under its MIT licence (© talkincode). 111 words, ~461 tokens.

Download SKILL.mdSave it as .claude/skills/add-adminapi-endpoint/SKILL.md (or your agent's skills folder).
name
add-adminapi-endpoint
description
Add a group of Admin REST endpoints in the management backend (TR-F012). Use when a feature needs management APIs such as create/read/update/delete.

Skill: Add Admin REST Endpoints

Feature ID: TR-F012 | Milestone: M2 and others

When to use

When adding a group of REST endpoints to the management backend.

Pre-research

text
view internal/adminapi/adminapi.go        # Init() registration entry
view internal/adminapi/nodes.go           # standard CRUD reference
view internal/adminapi/helpers.go         # parsePagination / filter helpers
view internal/adminapi/responses.go       # unified responses
view internal/adminapi/authz.go           # requireAdmin() and other authz

Implementation steps

  1. New file internal/adminapi/<feature>.go, package adminapi.
  2. Request structs: define the payload with validate tags (reference nodePayload).
  3. register function:
    go
    func register<Feature>Routes() {
        webserver.ApiGET("/<path>", list<Feature>)
        webserver.ApiPOST("/<path>", create<Feature>, requireAdmin())
        webserver.ApiPUT("/<path>/:id", update<Feature>, requireAdmin())
        webserver.ApiDELETE("/<path>/:id", delete<Feature>, requireAdmin())
    }
  4. Register in Init: add register<Feature>Routes() to Init() in adminapi.go.
  5. Data access: always use app.GDB(); never inject *gorm.DB.
  6. Shared conventions: reuse pagination, filtering, validation, authz, unified responses, and error handling.

Acceptance

  • Add <feature>_test.go covering CRUD and authz failure
  • go test ./internal/adminapi/... passes
  • golangci-lint run passes
  • If the frontend is involved, pair with ../add-react-admin-resource/SKILL.md
  • PR references TR-F012 and the milestone ID

© talkincode, MIT. 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 .agents/skills/add-adminapi-endpoint of talkincode/toughradius.

Open the folder on GitHubat commit 50907c9

Compare with similar skills

Add Adminapi Endpoint 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 Adminapi Endpoint compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Adminapi Endpoint this skilltalkincode/toughradius691—~461Automated safety check: PassMIT
API DesignerJeffallan/claude-skills12k2 repos~2kAutomated safety check: PassMIT
Paperclippaperclipai/paperclip99k—~9.6kAutomated safety check: PassMIT
Nodejs Backend Patternsever-works/ever-works15818 repos~4kAutomated safety check: PassAGPL-3.0
OpenAPI to MCP Servermcp-use/mcp-use11k—~5.2kAutomated safety check: PassApache-2.0
Use Yaakmountain-loop/yaak19k—~1.9kAutomated safety check: PassMIT

Similar skills

  • API Designer

    Jeffallan/claude-skills

    Designs REST and GraphQL APIs from resource modeling to an OpenAPI 3.1 contract, with versioning, pagination and RFC 7807 error handling.

    12k GitHub starsUsed in 2 repos~2k tokens
    Backend & APIsAuto-check passed
  • Paperclip

    paperclipai/paperclip

    Interact with the Paperclip control plane API for task coordination and governance.

    99k GitHub stars~9.6k tokensUpdated today
    Backend & APIsAuto-check passed
  • Nodejs Backend Patterns

    ever-works/ever-works

    Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices.

    158 GitHub starsUsed in 18 repos~4k tokens
    Backend & APIsAuto-check passed
  • OpenAPI to MCP Server

    mcp-use/mcp-use

    Turns an OpenAPI or Swagger spec into an MCP server with the mcp-use TypeScript SDK, mapping each operation to a tool, wiring auth, testing and deploying.

    11k GitHub stars~5.2k tokensUpdated today
    Backend & APIsAuto-check passed
  • Use Yaak

    mountain-loop/yaak

    A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…

    19k GitHub stars~1.9k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Covers the RuView `wifi-densepose` command line binary, its Axum REST API and the WebAssembly builds for browsers and ESP32, for embedding or scripting RuView.

    97k GitHub stars~1.2k tokensUpdated today
    Backend & APIsAuto-check: notes

More from talkincode/toughradius

All 15 skills in this repo
  • Release Version

    talkincode/toughradius

    Review merged PRs since the last Git tag and decide whether a ToughRADIUS release is warranted.

    691 GitHub stars~1.6k tokensUpdated 4 days ago
    Auto-check passed
  • Add Acceptance Test

    talkincode/toughradius

    Write CI-executable acceptance/integration tests for protocol or end-to-end changes (TR-F022).

    691 GitHub stars~827 tokensUpdated 4 days ago
    Auto-check passed
  • Add Eap Method

    talkincode/toughradius

    Add an EAP authentication method (e.g. An agent skill from talkincode/toughradius.

    691 GitHub stars~802 tokensUpdated 4 days ago
    Auto-check passed
  • Add Radius Vendor

    talkincode/toughradius

    Add or extend vendor VSA parsing and response enhancement (TR-F005).

    691 GitHub stars~590 tokensUpdated 4 days ago
    Auto-check passed
  • Add React Admin Resource

    talkincode/toughradius

    Add a resource or page in the React Admin management backend (TR-F013).

    691 GitHub stars~429 tokensUpdated 4 days ago
    Auto-check passed
  • Document Go APIs

    talkincode/toughradius

    Standard-library-style Go API documentation and comment conventions (TR-F024).

    691 GitHub stars~1.3k tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about Add Adminapi Endpoint

What does Add Adminapi Endpoint do?

Add a group of Admin REST endpoints in the management backend (TR-F012). Add Adminapi Endpoint is an agent skill from talkincode/toughradius. Add a group of Admin REST endpoints in the management backend (TR-F012).

When should I use Add Adminapi Endpoint?

Add Adminapi Endpoint fits situations like: A feature needs management APIs such as create/read/update/delete; tasks that involve REST APIs.

How do I install Add Adminapi Endpoint in Claude Code?

Run `npx skills add talkincode/toughradius --skill add-adminapi-endpoint -a claude-code`. Or copy the skill folder (.agents/skills/add-adminapi-endpoint in talkincode/toughradius) into .claude/skills/add-adminapi-endpoint in your project. Claude Code loads it when a task matches its description.

How do I install Add Adminapi Endpoint in Codex?

Run `npx skills add talkincode/toughradius --skill add-adminapi-endpoint -a codex`. Or copy the skill folder (.agents/skills/add-adminapi-endpoint in talkincode/toughradius) into .agents/skills/add-adminapi-endpoint in your project. Codex loads it when a task matches its description.

Can I use Add Adminapi Endpoint 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 talkincode/toughradius --skill add-adminapi-endpoint -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-adminapi-endpoint, .gemini/skills/add-adminapi-endpoint, .github/skills/add-adminapi-endpoint and .opencode/skills/add-adminapi-endpoint in your project.

What does Add Adminapi Endpoint need to run?

Going by SKILL.md and its folder, Add Adminapi Endpoint needs the command-line tools its instructions call (go).

Does Add Adminapi Endpoint 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 Adminapi Endpoint 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 Adminapi Endpoint use?

Add Adminapi Endpoint is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Add Adminapi Endpoint use?

About 461 tokens (SKILL.md is roughly 1.8k 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 Adminapi Endpoint?

Skills that share tags, products or a category with Add Adminapi Endpoint: API Designer (Jeffallan/claude-skills, 12k stars), Paperclip (paperclipai/paperclip, 99k stars), Nodejs Backend Patterns (ever-works/ever-works, 158 stars) and OpenAPI to MCP Server (mcp-use/mcp-use, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Adminapi Endpoint?

talkincode (a GitHub organization) maintains it in talkincode/toughradius, which has 691 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 3, 2026.

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