nara-frontend

nara-frontend is a skill for Claude Code, Codex from MasRama/nara. It costs 23 tokens per session (897 once invoked), scanned A, original, MIT.

A set of rules for building browser pages in Nara v3 with Vue 3, Vite, and TypeScript. Vue is a tool for creating interactive web interfaces, while Vite builds and serves the frontend during development.

In plain words
What is it for?
Use it when adding or changing Vue pages, components, shared browser logic, or frontend code that calls an API in Nara v3.
Why use it?
It keeps browser code in the expected feature folders and prevents frontend code from depending on server-only code. This reduces confusion about where pages, reusable components, and API clients belong.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import App from '../src/app/App.vue';.

Good fit Use it when adding or changing Vue pages, components, shared browser logic, or frontend code that calls an API in Nara v3.

Compare 6 skills from other repositories ↓
View source ↗ MasRama/nara
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/MasRama/nara
agentmods
npx agentmods add skills/masrama/nara/nara-frontend

Made for: Claude Code, 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 nara-frontend

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/masrama/nara/nara-frontend"><img src="https://agentmods.dev/badge/skills/masrama/nara/nara-frontend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 897 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.00023 $0.00897
Opus 5 $0.00012 $0.00449
Sonnet 5 $0.00005 $0.00179
Haiku 4.5 $0.00002 $0.00090

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

Security

Grade A, and why

nara-frontend 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 3d 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/nara-frontend/SKILL.md · 111 lines

How it starts

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

Frontend Patterns (Vue 3 + Vite + Router)

How to build browser UI on the fixed Vue 3 + Vite + TypeScript stack with vue-router. Feature-specific browser code belongs to the owning Feature:

src/features/<feature>/web/
├── pages/*.vue
├── components/*.vue
├── composables/*.ts
└── client.ts

Application-wide Vue composition belongs under src/app/. Keep resources/app.ts as a thin Vite entrypoint that mounts the app-layer root component. A Feature may omit web/ when it has no browser surface.

Application bootstrap

// resources/app.ts
import { createApp } from 'vue';
import App from '../src/app/App.vue';
import router from '../src/app/router';

createApp(App).use(router).mount('#app');

Use Vue Composition API in single-file components:

<script setup lang="ts">
import { computed, ref } from 'vue';

const open = ref(false);
const label = computed(() => (open.value ? 'Close' : 'Open'));
</script>

Use ref, computed, watch, onMounted, and onBeforeUnmount for state and lifecycle behavior.

API clients and responses

Prefer the feature-scoped typed client in the owning Feature's web/client.ts:

const response = await authClient.login({ email, password });
if (!response.success) {
  errorMessage.value = response.message;
}

Keep request and response types in the Feature contract. Handle loading, validation, and error state in the page or a Feature-owned composable: disable the submit control while pending, render field errors from the contract's error shape, and clear stale errors on input.

Every state-changing /api/* request must satisfy the application's double-submit CSRF middleware. Provider-owned Auth clients may use Auth's CSRF helpers directly. A reusable Feature must stay provider-neutral: declare the CSRF capability on its web host and inject it into the typed client, following UsersWebHost.csrf + createUsersClient({ csrf }). Do not import Auth web internals merely to obtain a CSRF token.

Read the full file on GitHub · 111 lines

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. 3d ago Changed · +20 lines 1b3c7486fee5
  2. 6d ago First seen · 91 lines · 23 tokens per session scan A 077c448a3f30

Subscribe to this mod's changes

nara-frontend is a skill published in the GitHub repository MasRama/nara (5 stars, last pushed today), licensed MIT. It adds 23 tokens to every session and 897 once invoked, about $0.0001 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-09-05.

Related

Other skills, from other repositories

vue-application-structure

Establishes or reviews the directory layout, component conventions, composable design, Pinia store structure, and Vue Router configuration for a Vue 3 TypeScript application. Invoked when the user asks to structure a Vue app, set up the project layout, or review Vue architecture.

soulcodex/agentic · 63 tokens

vue-component-design

Designs or reviews Vue 3 component APIs. Handles prop drilling decisions, applies compound component patterns with provide/inject, defines minimal public API surfaces with typed props/emits/slots, and enforces Vue 3.4+ composition conventions. Invoked when creating new components, refactoring existing ones, or…

soulcodex/agentic · 70 tokens

module-federation

Add, review, or debug client-rendered Module Federation support in Rsbuild-first TypeScript applications. Covers host/remote roles, exposes, remotes, shared dependencies, generated types, runtime loading failures, and observability checks.

soulcodex/agentic · 51 tokens

vue-component-testing

Applies the three-tier test taxonomy for Vue 3 applications: writes unit tests for composables and Pinia stores with Vitest, component tests for behaviour and user interactions with @testing-library/vue, and acceptance tests for full user flows with Playwright. Ensures tests focus on observable behaviour, not…

soulcodex/agentic · 79 tokens

next-application-structure

Establishes or reviews directory layout, server/client boundaries, routing, data-fetching strategy, and testing structure for Next.js 14+ App Router TypeScript applications. Invoked when the user asks to structure a Next app, set App Router conventions, or review architecture for React parity.

soulcodex/agentic · 64 tokens

react-application-structure

Establishes or reviews the directory layout, feature boundaries, state design, routing approach, and data-fetching conventions for a React 18+ TypeScript application. Invoked when the user asks to structure a React app, set up a scalable architecture, or review React project organization.

soulcodex/agentic · 63 tokens