gentelella copilot-instructions.md

gentelella copilot-instructions.md is an instructions file for GitHub Copilot from ColorlibHQ/gentelella. It costs 1,726 tokens per session, scanned A, original, MIT.

Project rules for GitHub Copilot when working on the Gentelella v4 admin dashboard template. They describe the project’s file layout, coding style, dependencies, and build commands.

In plain words
What is it for?
Use them when adding dashboard pages, changing JavaScript or SCSS, wiring page-specific modules, or building and checking the project.
Why use it?
They help Copilot produce changes that fit the project instead of introducing frameworks or patterns the project does not use.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file. Also seen: mentions CLAUDE.md.

About the project

Gentelella is a free admin dashboard template built with vanilla JavaScript, SCSS, and Vite, providing ready-made pages and interface components for web-based administration panels. It is intended for SaaS dashboards, CRM systems, internal tools, e-commerce backends, and project management applications.

ColorlibHQ/gentelella · 21,507 stars · on GitHub · gentelella.colorlib.com

Install

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.

agentmods
npx agentmods add instructions/colorlibhq/gentelella/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/ColorlibHQ/gentelella

Made for: GitHub Copilot.

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 gentelella copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/colorlibhq/gentelella/copilot-instructions.svg)](https://agentmods.dev/instructions/colorlibhq/gentelella/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/colorlibhq/gentelella/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/colorlibhq/gentelella/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,726 This file is loaded in full into every session.
When invoked 1,726 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.01726 $0.01726
Opus 5 $0.00863 $0.00863
Sonnet 5 $0.00345 $0.00345
Haiku 4.5 $0.00173 $0.00173

Measured 6d ago against content hash 44742bbd5d4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

gentelella copilot-instructions.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 6d 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.

.github/copilot-instructions.md · 79 lines

How it starts

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

GitHub Copilot Instructions — Gentelella v4

Admin dashboard template (4.1.1) by Colorlib. 58 server-rendered HTML pages in production/, built with Vite 8 (Rolldown). Vanilla ES2022, no Bootstrap, no jQuery, no SPA framework. SCSS only. Heavyweight deps — ECharts 6, DataTables.net 3, Leaflet 1.9 — are lazy-imported per page. Full reference: CLAUDE.md.

Hard rules

  • Vanilla DOM only. querySelector, classList, addEventListener. No jQuery, no SPA framework. v4's pitch is "vanilla and small."
  • Single entry: src/main-v4.js. Page-specific modules are lazy-imported inside it, guarded by DOM presence. Don't add <script> tags per page.
  • Pages auto-discover. Drop production/<slug>.html and discoverEntries() in vite.config.js picks it up — never edit rollupOptions.input.
  • Shell opt-in: <body data-shell="admin" data-page="<key>" data-breadcrumb="Home > …">. The Vite plugin inlines sidebar/topbar/footer at build/dev time (no FOUC).
  • Breadcrumbs link themselves. A segment matching a NAV item's text becomes a link (Formsform.html; a parent resolves to its first child). Override with a pipe: data-breadcrumb="Home > Projects|projects.html > Acme Redesign". The last segment is the current page and never links; untargeted segments stay plain text.
  • NAV is one constantNAV in src/v4/shell-render.js, 7 groups. key matches data-page. New icons go in the ICONS object in the same file.
  • Overlays go through helpers: showModal()/showToast()/openMenu()/openPanel() from src/v4/{modal,toast,menus}.js. Never hand-roll a backdrop, escape handler, or focus return.
  • CSS custom properties for colors. Tokens in src/scss/v4/_tokens.scss under :root and [data-theme="dark"]. Charts read them via getComputedStyle(document.documentElement).getPropertyValue('--…') so dark-mode redraw is automatic.
  • Lazy ECharts. Match the modular import pattern in src/v4/charts.js. Don't import * as echarts.
  • Subpath-safe URLs. import.meta.env.BASE_URL in JS, ${base} in the Vite plugin, relative paths in production/*.html. Never hard-code a leading /.
  • Idempotent init<Name>() exports. Every module in src/v4/ has one. Safe to call when its root element is absent, safe to call twice.
  • No console.* in shipped code. Terser drops them in production; ESLint flags earlier.
  • Service worker only in prod (import.meta.env.PROD guard) — keeps HMR working in dev.

Read the full file on GitHub · 79 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. 6d ago First seen · 79 lines · 1,726 tokens per session scan A 44742bbd5d4a

Subscribe to this mod's changes

gentelella copilot-instructions.md is an instructions file published in the GitHub repository ColorlibHQ/gentelella (21,507 stars, last pushed 2d ago), licensed MIT. It adds 1,726 tokens to every session, about $0.0086 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 instructions, from other repositories