ai-video-studio: Skill for Codex

.codex/skills/ai-video-studio-frontend-test/SKILL.md

ai-video-studio-frontend-test is a skill for Codex from yfge/ai-video-studio. It costs 83 tokens per session (558 once invoked), scanned A, original, MIT.

A testing guide for the frontend, the part of an application users see and interact with. It helps choose checks such as linting, automated tests, and a production build based on the type of change.

In plain words
What is it for?
Use it when changing Next.js pages, components, hooks, API clients, route guards, authentication flows, or other frontend behavior.
Why use it?
It prevents frontend changes from skipping checks that could reveal broken behavior, routing, authentication, server rendering, or browser loading problems.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md; mentions Codex; $skill-name invocation.

This is yfge/ai-video-studio's own configuration. It tells Codex how to work on ai-video-studio 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 ai-video-studio configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/geyunfei/dev/yfge/ai-video-studio/.codex/skills/ai-video-studio-frontend-test.

Reuse

Borrowing it

Nothing to install: this file belongs to yfge/ai-video-studio. 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/yfge/ai-video-studio/main/.codex/skills/ai-video-studio-frontend-test/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/yfge/ai-video-studio

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 ai-video-studio-frontend-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/yfge/ai-video-studio/ai-video-studio-frontend-test/github.svg)](https://agentmods.dev/skills/yfge/ai-video-studio/ai-video-studio-frontend-test)
Your own site
<a href="https://agentmods.dev/skills/yfge/ai-video-studio/ai-video-studio-frontend-test"><img src="https://agentmods.dev/badge/skills/yfge/ai-video-studio/ai-video-studio-frontend-test/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 ai-video-studio-frontend-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/yfge/ai-video-studio/ai-video-studio-frontend-test"><img src="https://agentmods.dev/badge/skills/yfge/ai-video-studio/ai-video-studio-frontend-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 558 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.
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.00083 $0.00558
Opus 5 $0.00042 $0.00279
Sonnet 5 $0.00017 $0.00112
Haiku 4.5 $0.00008 $0.00056

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

Security

Grade A, and why

ai-video-studio-frontend-test 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 11d 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.

.codex/skills/ai-video-studio-frontend-test/SKILL.md · 54 lines

What it actually says

AI Video Studio Frontend Test

Use this skill to decide the right frontend validation depth without diluting the minimum gate. npm run lint is the baseline; npm run test and npm run build are added when the change risk justifies them.

Read First

  • AGENTS.md
  • docs/testing/agent-validation-workflow.md
  • README.md
  • ai-pic-frontend/package.json

Command Matrix

  • Always run the minimum frontend gate:
    cd ai-pic-frontend && npm run lint
    
  • Add tests when the change touches hooks, state logic, utilities, API client code, component behavior, or existing test files:
    cd ai-pic-frontend && npm run test
    
  • Add a build for route, layout, config, auth, hydration, bundling, or SSR-sensitive changes:
    cd ai-pic-frontend && npm run build
    

Decision Rules

  • Treat npm run lint as non-optional for frontend changes.
  • Add npm run test whenever the change modifies behavior rather than only copy, docs, or passive styling.
  • Add npm run build when the change can affect routing, layouts, server/client boundaries, config, auth redirects, or hydration.
  • npm run build is a risk-driven frontend gate. It does not replace the repository-wide ./docker/build_prod_images.sh requirement before commit.
  • If the change is user-visible or login-related, pair this skill with ai-video-studio-mcp-e2e.

Reporting Requirements

  • Report the exact frontend commands that were run and why they were sufficient.
  • When tests or build were omitted, state the risk assessment explicitly.
  • In agent_chats, put frontend evidence under ## Validation before or alongside browser validation notes.
  • Do not collapse lint, tests, build, and browser checks into a vague sentence like "frontend verified".

Explicit Invocation

Use this skill explicitly from the repo path:

Use $ai-video-studio-frontend-test at /Users/geyunfei/dev/yfge/ai-video-studio/.codex/skills/ai-video-studio-frontend-test
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. 11d ago First seen · 54 lines · 83 tokens per session scan A 269b86c9072b

Subscribe to this mod's changes

ai-video-studio-frontend-test is a skill published in the GitHub repository yfge/ai-video-studio (62 stars, last pushed 1mo ago), licensed MIT. It adds 83 tokens to every session and 558 once invoked, about $0.0004 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

frontend-feature

Build a new page, view, or data-driven feature in the Next.js frontend. Use when adding a route under the dashboard/marketing area, wiring UI to a backend endpoint, adding client state, or creating a localized page. Covers App Router, data fetching, Zustand stores, and i18n.

vstorm-co/full-stack-ai-agent-template · 64 tokens

pytest-suite

Write or extend the backend test suite following this project's conventions. Use when adding tests for a new service/route/repository, when coverage is missing, or when asked to test a feature. Knows the mocked-session + httpx AsyncClient setup so tests run with no database.

vstorm-co/full-stack-ai-agent-template · 59 tokens

testing-e2e

End-to-end testing patterns with Playwright — page objects, AI agent testing, visual regression, accessibility testing with axe-core, and CI integration. Use when writing E2E tests, setting up Playwright, implementing visual regression, or testing accessibility.

yonatangross/orchestkit · 55 tokens

design-ship

One-shot pipeline turning a claude.ai/design link into a pull request: scaffold via /ork:design-import, stories and specs via /ork:cover, browser verification via /ork:expect, then open the PR. Use when a design link should come back as a PR with no intermediate steps; if all you need is the components written to…

yonatangross/orchestkit · 84 tokens

angular-testing

Write Angular component tests using TestBed, ComponentHarness, and HttpTestingController with proper signal input handling. Use when writing component tests, mocking HTTP calls, or testing signal inputs.

HoangNguyen0403/agent-skills-standard · 39 tokens

quality-engineering-selector-stability

Cross-stack selector and test-id policy for web and mobile automation. Use when writing or reviewing E2E/UI test locators, or adding data-testid/accessibility identifiers to components.

HoangNguyen0403/agent-skills-standard · 43 tokens