{
  "markdown": "# newapi-skills\n\nSkills for managing [new-api](https://github.com/QuantumNous/new-api) (open-source AI gateway) resources — models, groups, tokens and balance.\n\n## Installation\n\nUse `npx` to install:\n\n```bash\nnpx skills add https://github.com/QuantumNous/skills --skill newapi\n```\n\n## Configuration\n\nSet the following three variables before using the skill. **Recommended: export as environment variables** (e.g. in your shell profile):\n\n```bash\nexport NEWAPI_BASE_URL=https://your-newapi-instance.com\nexport NEWAPI_ACCESS_TOKEN=your-access-token\nexport NEWAPI_USER_ID=1\n```\n\nAlternatively, you can create a `.env` file in the project root or the skill directory. Make sure `.env` is in your `.gitignore`.\n\n## Usage\n\n| Action | Usage | Description |\n| ------ | ----- | ----------- |\n| `models` | `/newapi models` | List available models |\n| `groups` | `/newapi groups` | List user groups |\n| `balance` | `/newapi balance` | Show account balance |\n| `tokens` | `/newapi tokens` | List API tokens |\n| `create-token` | `/newapi create-token <name> [--group=xxx]` | Create a new API token |\n| `switch-group` | `/newapi switch-group <token_id> <group>` | Change a token's group |\n| `copy-token` | `/newapi copy-token <token_id>` | Copy real key to clipboard (never shown) |\n| `apply-token` | `/newapi apply-token <token_id> <file_path>` | Apply token key to a config file securely |\n| `exec-token` | `/newapi exec-token <token_id> <command...>` | Execute a command with the token key securely substituted |\n| `scan-config` | `/newapi scan-config <file_path>` | Inspect config structure with best-effort secret redaction |\n| `help` | `/newapi help <question>` | Answer questions about newapi |\n\n## Requirements\n\nOne of the following JS runtimes (the skill auto-detects):\n\n- [Bun](https://bun.sh) (preferred)\n- Node.js >= 18\n- Deno\n\n## License\n\nMIT\n",
  "bytes": 1842,
  "sha": "f12e18d9acd122213a7fc72c42c06c055c527467a5ee17c9db34500cf2e858dc",
  "repo_slug": "quantumnous/skills",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/skl_quantumnous_skills_newapi_c19182a4/readme"
}