WealthWise-Finance-Tracker: Skill for Codex

.agents/skills/api-endpoint/SKILL.md

api-endpoint is a skill for Codex from hoangsonww/WealthWise-Finance-Tracker. It costs 59 tokens per session (888 once invoked), scanned A, original, MIT.

A scaffolding skill that creates a complete REST API endpoint for the WealthWise Express server, including validation, database, server, and shared-code layers.

In plain words
What is it for?
Use it when adding a new route or resource, such as creating its request rules, database model, handlers, routes, and shared response types.
Why use it?
It removes the repetitive work of connecting a new API resource across the project's required layers and conventions.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is hoangsonww/WealthWise-Finance-Tracker's own configuration. It tells Codex how to work on WealthWise-Finance-Tracker itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything WealthWise-Finance-Tracker configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hoangsonww/WealthWise-Finance-Tracker. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hoangsonww/WealthWise-Finance-Tracker/master/.agents/skills/api-endpoint/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hoangsonww/WealthWise-Finance-Tracker

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for api-endpoint

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoangsonww/wealthwise-finance-tracker/api-endpoint/github.svg)](https://agentmods.dev/skills/hoangsonww/wealthwise-finance-tracker/api-endpoint)
Your own site
<a href="https://agentmods.dev/skills/hoangsonww/wealthwise-finance-tracker/api-endpoint"><img src="https://agentmods.dev/badge/skills/hoangsonww/wealthwise-finance-tracker/api-endpoint/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for api-endpoint

Your own site · 80×15
<a href="https://agentmods.dev/skills/hoangsonww/wealthwise-finance-tracker/api-endpoint"><img src="https://agentmods.dev/badge/skills/hoangsonww/wealthwise-finance-tracker/api-endpoint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 888 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 94
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 95
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.00888
Opus 5 $0.00030 $0.00444
Sonnet 5 $0.00012 $0.00178
Haiku 4.5 $0.00006 $0.00089

Measured 9d ago against content hash f121de6ceb08, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

api-endpoint scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/api-endpoint/SKILL.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Scaffold a complete new API endpoint for the WealthWise API following all project conventions.

The entity/resource name is provided in the task prompt.

Scope

Create all four layers in this exact order:

1. Zod schema — packages/shared-types/src/schemas/<entity>.schema.ts

import { z } from 'zod';

export const Create<Entity>Schema = z.object({
  // entity-specific fields with validation
});

export const Update<Entity>Schema = Create<Entity>Schema.partial();

export const <Entity>ResponseSchema = Create<Entity>Schema.extend({
  _id: z.string(),
  userId: z.string(),
  createdAt: z.string().datetime(),
  updatedAt: z.string().datetime(),
});

export const <Entity>ListResponseSchema = z.array(<Entity>ResponseSchema);

Add inferred types to packages/shared-types/src/types/index.ts:

export type Create<Entity>Input = z.infer<typeof Create<Entity>Schema>;
export type Update<Entity>Input = z.infer<typeof Update<Entity>Schema>;
export type <Entity>Response = z.infer<typeof <Entity>ResponseSchema>;

Export from packages/shared-types/src/index.ts.

2. Mongoose model — apps/api/src/models/<entity>.model.ts

  • userId: { type: Schema.Types.ObjectId, ref: 'User', required: true, index: true }
  • timestamps: true in schema options (handles createdAt/updatedAt automatically)
  • Define compound indexes in the schema file
  • Export: export const <Entity>Model = model<I<Entity>>('<Entity>', <entity>Schema)

3. Service — apps/api/src/services/<entity>.service.ts

Implement with full type signatures:

  • get<Entity>s(userId: string): Promise<I<Entity>[]>
  • get<Entity>ById(id: string, userId: string): Promise<I<Entity>> — throws ApiError.notFound if missing
  • create<Entity>(userId: string, data: Create<Entity>Input): Promise<I<Entity>>
  • update<Entity>(id: string, userId: string, data: Update<Entity>Input): Promise<I<Entity>> — throws ApiError.notFound if missing
  • delete<Entity>(id: string, userId: string): Promise<void> — throws ApiError.notFound if missing

Read the full file on GitHub · 99 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 99 lines · 59 tokens per session scan A f121de6ceb08

Subscribe to this mod's changes

api-endpoint is a skill published in the GitHub repository hoangsonww/WealthWise-Finance-Tracker (24 stars, last pushed yesterday), licensed MIT. It adds 59 tokens to every session and 888 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

payload

Use when working with Payload projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.

payloadcms/payload · 43 tokens

django-migration-psql

Reviews Django migration files for PostgreSQL best practices specific to Prowler. Trigger: When creating migrations, running makemigrations/pgmakemigrations, reviewing migration PRs, adding indexes or constraints to database tables, modifying existing migration files, or writing data backfill migrations. Always use…

prowler-cloud/prowler · 96 tokens

database-rds-devops

Database-level data-plane diagnostics for Aurora MySQL and Aurora PostgreSQL. Executes predefined read-only health check queries via RDS Data API to analyze buffer pool, connections, locks, replication, storage, performance, and index efficiency. Requires the rds-aidba MCP server for database-internal access beyond…

aws/tools-for-devops-agent · 75 tokens

firebase-app-platform

Build and operate apps on Firebase using Auth, Firestore, Cloud Functions, and Hosting. Use when building mobile/web backends with managed services, real-time data sync, or serverless APIs.

BagelHole/DevOps-Security-Agent-Skills · 43 tokens

google-firebase-ninja

Master orchestrator for 18+ Firebase agent skills from official Google repositories. Use when working with Firebase, Firestore, Firebase Auth, Firebase Hosting, Cloud Functions, Firebase Extensions, or any Firebase backend task. Routes to the optimal specialized skill based on context. Triggers: Firebase, Firestore…

fabricioctelles/jump-skills · 98 tokens

crm-production-investigation-guidelines

Guidelines for investigating production incidents in the CRM application. Use when triaging any alert or incident involving the CRM REST API, SQS queues, Lambda functions, or Aurora DSQL database in this AWS account. Ensures thorough root cause analysis using AWS-native observability tools.

aws/tools-for-devops-agent · 62 tokens