ahstn/oceans-llm / .agents/skills/verify-oceans-admin
verify-oceans-admin
VerifiedVerify the Oceans LLM admin control plane and backend gateway against the real local stack, seeded demo data, and bounded live providers when required. Use for user-path checks of sign-in, models, API keys, observability, usage costs, spend controls, batches, agent sessions, request logs, Anthropic Messages thinking and effort compatibility, MCP registry and tool access, OpenRouter routing, guardrails, and Skills storage.
features/profile.md
View on GitHub# Profile
Profile is the landing page after sign-in for any session with page permissions. It greets the user, shows their budget meter, headline usage, a usage heatmap with per-day tooltips, and their personal API keys, with links into the API Keys create dialog.
## Sub-features
- `profile-landing` sends a sign-in without a `redirect` target to `/admin/profile`.
- `profile-budget` shows the budget meter with the spent and limit amounts from `/api/v1/me/profile`. The limit includes `budget.active_increase` when present, and the `budget-increase` test ID notes the increase and its last day.
- `profile-usage` shows headline usage and a heatmap whose tooltip lists `Requests`, `Total tokens`, and `Cost`.
- `profile-keys` lists personal keys, expands with `Show N more`, and links `Manage keys` to API Keys.
- `profile-create-key` opens `Create API key` from `/admin/api-keys?create=true` with the viewer preselected as `Owner user`.
- `profile-empty-keys` shows `Create your first key` for a user with no personal keys.
## How to get to it (user POV)
- Sign in from `/admin/login` with no `redirect`.
- Choose `Profile` in the sidebar.
## Driving it with control-oceans-admin
Preconditions: a launched stack with the local demo seed. The default user is `alice@platform.local` / `localdemo123`; the checks expect Alice's seeded history and name, so only her password can be overridden, with `OCEANS_VERIFY_PROFILE_PASSWORD`.
- **Automated proof.** Run `control-oceans-admin drive profile`. It writes `profile-proof.json` with one check per step below.
- **Landing.** Sign in as Alice. The URL is `/admin/profile` and the heading reads `Welcome back, Alice`.
- **API parity.** Fetch `/api/v1/me/profile`. The `budget-meter` test ID shows the same spent amount and a limit of `settings.amount_usd_10000` plus any `active_increase.amount_usd_10000`, and the seed has at least 100 active days.
- **Heatmap.** Hover the last active cell in `usage-heatmap`. The `heatmap-tooltip` lists `Requests`, `Total tokens`, and `Cost`.
- **Create link.** Open `/admin/api-keys?create=true`. The `Create API key` dialog shows `Alice Platform Lead` as `Owner user`.
- **Empty keys.** Sign in as `admin@local`. `Create your first key` is visible and opens the `Create API key` dialog.
## Gotchas
- Charts load lazily and animate in; wait for network idle and the first `.recharts-surface` before reading the heatmap.
- `admin@local` has no personal keys and is not a selectable key owner, so only the dialog opening is checked for it.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |