Agent Skill · cubic

codebase-context

Queries cubic's AI-generated wiki to provide architectural context about the codebase. Answers questions about how systems work, how components connect, and codebase design. Use when the user asks about architecture, system design, onboarding, or "how does X work".

Provider: cubic Path in repo: codebase-context/SKILL.md

Skill body

Codebase Context

Query cubic’s AI-generated wiki to answer questions about codebase architecture and design.

When To Activate

Inputs

Instructions

1. Detect the repository

git remote get-url origin

Extract the owner and repo name from the remote URL.

2. Find relevant pages

Call list_wiki_pages with the owner and repo. Match page titles and descriptions to the user’s question.

3. Fetch content

Call get_wiki_page for the most relevant pages (1–3 pages max).

4. Synthesize an answer

Combine wiki content into a focused answer for the user’s specific question. Connect wiki knowledge to the specific files or modules the user is working with.

Output Format

Summarize the relevant wiki content — don’t dump entire pages. Reference specific wiki pages so the user can explore further.

Based on the cubic wiki for this repo:

**Authentication Flow**
The auth system uses JWT tokens with refresh rotation. Login requests hit
`src/auth/login.ts` which validates credentials against the user store,
then issues a token pair via `src/auth/tokens.ts`.

-> Wiki: "Authentication Architecture" · "Token Lifecycle"

**Related files:** src/auth/login.ts, src/auth/tokens.ts, src/middleware/auth.ts

If no wiki exists for this repo, suggest the user set one up in the cubic dashboard.

Skill frontmatter

allowed-tools: Bashcubic:list_wiki_pagescubic:get_wiki_page

Work with this as data

Every skill here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for agent skills

4 MCP tools reach this
  • find_skillsBrowse and filter every skill in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This skill
curl "https://apis.io/api/v1/skills/codebase-context"
All agent skills
curl "https://apis.io/api/v1/skills?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.