Back to search
newapi-skills
MarketplaceWorks with Claude CodeGitHubIncomplete
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Checked today
Badge for your README
Markdown
[](/listings/quantumnous-skills)HTML
<a href="/listings/quantumnous-skills"><img src="/api/listings/quantumnous-skills/badge.svg" alt="findsafeskills safety rating" /></a>Install
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
Use `npx` to install:
npx skills add https://github.com/QuantumNous/skills --skill newapi
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
.claude-plugin/marketplace.json · Manifest · 27 lines
- {
- "name": "newapi-skills",
- "owner": {
- "name": "Calcium-Ion",
- "url": "https://www.newapi.ai"
- },
- "metadata": {
- "description": "Skills for new-api: manage models, groups, tokens and balance, and develop and publish New API plugins.",
- "version": "1.0.0"
- },
- "plugins": [
- {
- "name": "newapi",
- "description": "User-facing new-api operations: query models, check balance, list groups, and manage personal API tokens.",
- "source": "./",
- "strict": false,
- "skills": ["./skills/newapi"]
- },
- {
- "name": "newapi-plugin-dev",
- "description": "Develop, test and publish New API plugins (plugin.js) on the newapi.ai community marketplace.",
- "source": "./",
- "strict": false,
- "skills": ["./skills/newapi-plugin-dev"]
- }
- ]
- }
README.md · README · 76 lines
- # newapi-skills
- Skills for [new-api](https://github.com/QuantumNous/new-api) (open-source AI gateway).
- | Skill | What it does |
- | ----- | ------------ |
- | [`newapi`](#newapi) | Manage your new-api resources — models, groups, tokens and balance |
- | [`newapi-plugin-dev`](#newapi-plugin-dev) | Develop, test and publish New API plugins on the [newapi.ai](https://www.newapi.ai) community marketplace |
- ## newapi
- ### Installation
- Use `npx` to install:
- ```bash
- npx skills add https://github.com/QuantumNous/skills --skill newapi
- ```
- ### Configuration
- Set the following three variables before using the skill. **Recommended: export as environment variables** (e.g. in your shell profile):
- ```bash
- export NEWAPI_BASE_URL=https://your-newapi-instance.com
- export NEWAPI_ACCESS_TOKEN=your-access-token
- export NEWAPI_USER_ID=1
- ```
- Alternatively, you can create a `.env` file in the project root or the skill directory. Make sure `.env` is in your `.gitignore`.
- ### Usage
- | Action | Usage | Description |
- | ------ | ----- | ----------- |
- | `models` | `/newapi models` | List available models |
- | `groups` | `/newapi groups` | List user groups |
- | `balance` | `/newapi balance` | Show account balance |
- | `tokens` | `/newapi tokens` | List API tokens |
- | `create-token` | `/newapi create-token <name> [--group=xxx]` | Create a new API token |
- | `switch-group` | `/newapi switch-group <token_id> <group>` | Change a token's group |
- | `copy-token` | `/newapi copy-token <token_id>` | Copy real key to clipboard (never shown) |
- | `apply-token` | `/newapi apply-token <token_id> <file_path>` | Apply token key to a config file securely |
- | `exec-token` | `/newapi exec-token <token_id> <command...>` | Execute a command with the token key securely substituted |
- | `scan-config` | `/newapi scan-config <file_path>` | Inspect config structure with best-effort secret redaction |
- | `help` | `/newapi help <question>` | Answer questions about newapi |
- ### Requirements
- One of the following JS runtimes (the skill auto-detects):
- - [Bun](https://bun.sh) (preferred)
- - Node.js >= 18
- - Deno
- ## newapi-plugin-dev
- Guides an agent through writing a New API plugin (`plugin.js`), its `README.md` and `CHANGELOG.md`, validating it with `new-api plugin lint` and fixtures, and publishing it from your GitHub repository on the [newapi.ai community marketplace](https://www.newapi.ai/en/community).
- ### Installation
- ```bash
- npx skills add https://github.com/QuantumNous/skills --skill newapi-plugin-dev
- ```
- ### Usage
- Describe the plugin you want, for example:
- > Use the newapi-plugin-dev skill to build a New API plugin for the Example video API (docs: https://example.com/docs). My GitHub username is alice.
- The skill reads the [plugin API spec](https://github.com/QuantumNous/new-api/blob/main/docs/plugin-api/v1.md) and follows it. It needs no configuration; testing uses a [new-api release](https://github.com/QuantumNous/new-api/releases) binary or the `calciumion/new-api` Docker image.
- ## License
- MIT
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.