Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/soulcodex/agentic/vue-application-structurenpx skills add soulcodex/agentic --skill vue-application-structuregit clone --depth 1 https://github.com/soulcodex/agenticWrote 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.
[](https://agentmods.dev/skills/soulcodex/agentic/vue-application-structure)<a href="https://agentmods.dev/skills/soulcodex/agentic/vue-application-structure"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/vue-application-structure.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00063 | $0.01134 |
| Opus 5 | $0.00032 | $0.00567 |
| Sonnet 5 | $0.00013 | $0.00227 |
| Haiku 4.5 | $0.00006 | $0.00113 |
Grade A, and why
vue-application-structure 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.
How it starts
The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vue Application Structure Skill
Step 1 — Directory Layout (Feature-Based)
Organise by feature, not by file type. Co-locate everything a feature needs:
src/
features/
auth/
AuthLoginForm.vue
useAuth.ts ← composable
auth.store.ts ← Pinia store
auth.types.ts
auth.api.ts ← HTTP calls
components/ ← shared/generic UI components
BaseButton.vue
TheNavbar.vue
composables/ ← shared composables used across features
useBreakpoint.ts
router/
index.ts
guards.ts
stores/ ← global stores (not feature-specific)
ui.store.ts
lib/ ← utilities, formatters, constants
assets/
App.vue
main.ts
Step 2 — Composition API Conventions
- Use
<script setup lang="ts">exclusively — no Options API, nodefineComponent. - Declare
definePropsanddefineEmitswith TypeScript interfaces, not runtime validators. - Keep template logic minimal — extract complex expressions into
computedrefs or composables. - Use alias imports for cross-directory modules and ESM
import/exportsyntax only.
<script setup lang="ts">
interface Props {
userId: string
readonly?: boolean
}
const props = withDefaults(defineProps<Props>(), { readonly: false })
const emit = defineEmits<{ saved: [userId: string] }>()
</script>
Step 3 — Composable Design
- Name composables with the
useprefix:useAuth,useCart,useDebounce. - Each composable has a single responsibility.
- Return reactive state and actions from a composable; do not mutate props.
- Composables that wrap a Pinia store should not duplicate store state — return store refs directly.
// composables/useDebounce.ts
export function useDebounce<T>(value: Ref<T>, delay: number): Readonly<Ref<T>> {
const debounced = ref<T>(value.value) as Ref<T>
watchEffect(() => {
const timer = setTimeout(() => { debounced.value = value.value }, delay)
return () => clearTimeout(timer)
})
return readonly(debounced)
}
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.
- 3d ago First seen · 149 lines · 63 tokens per session scan A 09d6793615d7
vue-application-structure is a skill published in the GitHub repository soulcodex/agentic (10 stars, last pushed 3d ago), licensed MIT. It adds 63 tokens to every session and 1,134 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-31.
Other skills, from other repositories
authoring-typescript
Best practices for TypeScript code including type safety, discriminated unions, type guards, and exhaustive checking. Use this skill whenever the user asks about TypeScript patterns, type safety, type assertions (as any, as unknown), non-null assertions, discriminated unions, exhaustive switch/never patterns, type…
vue
Vue 3 - Progressive JavaScript framework with Composition API, reactivity system, single-file components, Vite integration, TypeScript support.
kb-builder
Build an Obsidian-compatible knowledge base from public web sources using the TinyFish CLI. Use this skill when a user wants a builder-grade markdown knowledge base on a technical topic, asks for a structured research vault, or wants a topic compiled from live public sources into interlinked markdown files. Supports…
leetcode-coach
Find and set up coding practice problems tailored to your weak areas, then create local files so you can solve them right away. Use this skill when a user wants to practice coding, asks for a LeetCode problem, says "give me a coding challenge", "I want to practice DSA", "help me prep for coding interviews", "find me a…
oss-alternatives
Find actively maintained open source alternatives to any paid SaaS tool or commercial API. Use this skill whenever a user mentions wanting to replace, swap out, self-host, or find a free/open source version of a paid tool — including but not limited to tools like Datadog, Algolia, Twilio, Stripe, Auth0, Segment…
salary-market-scanner
Scan live job boards and salary databases to find real-time compensation data for any role and location. Use this skill when a user asks "what's the going rate for a senior React engineer in London", "software engineer salary Singapore", "how much do ML engineers make", "what should I be earning as a [role]", "is my…