vite-vue3-browser-extension-v3: Instructions file for Codex

AGENTS.md

vite-vue3-browser-extension-v3 AGENTS.md is an instructions file for Codex, OpenCode from mubaidr/vite-vue3-browser-extension-v3. It costs 725 tokens per session, scanned A, original, MIT.

A set of instructions for AI coding agents working on a Vue 3 and Vite browser extension for Chrome, Firefox, and Edge. It describes the project, commands, coding style, and main folders.

In plain words
What is it for?
Use it to guide development, testing, linting, formatting, and type checking in the browser-extension codebase.
Why use it?
It gives an agent the project rules and structure it needs before changing code, reducing avoidable mistakes and inconsistent edits.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is mubaidr/vite-vue3-browser-extension-v3's own configuration. It tells Codex and OpenCode how to work on vite-vue3-browser-extension-v3 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 vite-vue3-browser-extension-v3 configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mubaidr/vite-vue3-browser-extension-v3. 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/mubaidr/vite-vue3-browser-extension-v3/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/mubaidr/vite-vue3-browser-extension-v3

Made for: Codex, OpenCode.

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 vite-vue3-browser-extension-v3 AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/mubaidr/vite-vue3-browser-extension-v3/agents-md/github.svg)](https://agentmods.dev/instructions/mubaidr/vite-vue3-browser-extension-v3/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/mubaidr/vite-vue3-browser-extension-v3/agents-md"><img src="https://agentmods.dev/badge/instructions/mubaidr/vite-vue3-browser-extension-v3/agents-md/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 vite-vue3-browser-extension-v3 AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mubaidr/vite-vue3-browser-extension-v3/agents-md"><img src="https://agentmods.dev/badge/instructions/mubaidr/vite-vue3-browser-extension-v3/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 725 This file is loaded in full into every session.
When invoked 725 The same file — it is already loaded in full.
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.00725 $0.00725
Opus 5.5 $0.00290 $0.00290
Sonnet 5.5 $0.00145 $0.00145
Haiku 4.5 $0.00072 $0.00072

Measured 2mo ago against content hash e4715781b24b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vite-vue3-browser-extension-v3 AGENTS.md 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 2mo 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.md · 100 lines

How it starts

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

AGENTS.md

Guidelines for AI agents working on this codebase.

Project Overview

Vue 3 + Vite browser extension (Manifest V3) supporting Chrome, Firefox, and Edge.

Essential Commands

npm run dev:chrome    # Development for Chrome
npm run dev:firefox   # Development for Firefox
npm run build         # Production build for both browsers
npm run lint          # ESLint with auto-fix
npm run typecheck     # TypeScript type checking
npm run format        # Format with Prettier

Code Style

  • TypeScript: Strict mode enabled. Avoid any type.
  • Vue: Use <script setup lang="ts"> syntax.
  • Semicolons: No semicolons (Prettier config).
  • Quotes: Double quotes (Prettier config).
  • Trailing commas: Always (Prettier config).
  • Indentation: 2 spaces, no tabs.
  • Console: Use console.info, console.warn, or console.error (not console.log).

Architecture

Extension Contexts

  • src/background/ - Service worker (extension lifecycle)
  • src/content-script/ - DOM injection, page interaction
  • src/ui/action-popup/ - Browser action popup
  • src/ui/options-page/ - Extension options page
  • src/ui/side-panel/ - Chrome side panel
  • src/ui/devtools-panel/ - DevTools panel
  • src/ui/setup/ - Install/update wizard
  • src/offscreen/ - Offscreen documents

Shared Code

  • src/components/ - Reusable Vue components
  • src/composables/ - Vue composables (hooks)
  • src/stores/ - Pinia state stores
  • src/utils/ - Utility functions
  • src/types/ - TypeScript definitions

File-Based Routing

UI pages auto-register from src/ui/<context>/pages/. Create .vue files there to add routes.

Conventions

Components

  • Use PascalCase for component files: MyComponent.vue
  • Place shared components in src/components/
  • Context-specific components stay in their UI folder

Composables

  • Prefix with use: useTheme.ts, useBrowserStorage.ts
  • Export functions as named exports

Stores

  • Suffix with .store.ts: options.store.ts
  • Use Pinia with Composition API style

Read the full file on GitHub · 100 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. 2mo ago First seen · 100 lines · 725 tokens per session scan A e4715781b24b

Subscribe to this mod's changes

vite-vue3-browser-extension-v3 AGENTS.md is an instructions file published in the GitHub repository mubaidr/vite-vue3-browser-extension-v3 (790 stars, last pushed 4mo ago), licensed MIT. It adds 725 tokens to every session, about $0.0029 per session on Opus 5.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

vite-vue3-browser-extension-v3 AGENTS.md compared with instructions from other repositories

vite-vue3-browser-extension-v3 AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vite-vue3-browser-extension-v3 AGENTS.mdmubaidr/vite-vue3-browser-extension-v3Instructions file7904mo agoMITA725Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode