Add Admin Api Endpoint
Provides API guidance and assistance for agent workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add add-admin-api-endpoint npx -- -y @trustedskills/add-admin-api-endpoint
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"add-admin-api-endpoint": {
"command": "npx",
"args": [
"-y",
"@trustedskills/add-admin-api-endpoint"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to programmatically create new endpoints within the Ghost CMS admin API. It extends the platform's native functionality, allowing automation of administrative tasks that typically require manual configuration or direct database access.
When to use it
- Dynamically registering custom webhooks for automated event handling.
- Creating dedicated endpoints for third-party integrations without modifying core theme files.
- Building internal tools that need to trigger specific admin-level actions via HTTP requests.
- Extending Ghost's REST API surface area for bespoke workflow automation.
Key capabilities
- Adds new routes to the existing Admin API structure.
- Supports custom logic execution triggered by incoming API requests.
- Integrates seamlessly with Ghost's authentication and middleware layers.
Example prompts
- "Create a new admin API endpoint that accepts a JSON payload and logs it to a specified external service."
- "Add an endpoint to the Ghost admin API that triggers a custom notification workflow when a post is published."
- "Generate code to extend the admin API with a method for bulk updating user roles via POST request."
Tips & gotchas
Ensure your AI agent has sufficient permissions to modify server-side configurations, as adding endpoints alters the application's routing table. Always validate that custom logic adheres to Ghost's security best practices to prevent unauthorized access through new routes.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.