phantom-neural-cortex copilot-instructions.md

phantom-neural-cortex copilot-instructions.md is an instructions file for GitHub Copilot from LEEI1337/phantom-neural-cortex. It costs 991 tokens per session, scanned A, original, MIT.

GitHub Copilot instructions describing project context, coding standards, security practices, and testing expectations for TypeScript, JavaScript, and Python.

In plain words
What is it for?
Guiding implementation and review across TypeScript, JavaScript, and Python, including input validation, authentication, and tests.
Why use it?
They give the coding assistant consistent rules for readable, typed, secure, and tested code.

Instructions file for GitHub Copilot

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/leei1337/phantom-neural-cortex/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/LEEI1337/phantom-neural-cortex

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 phantom-neural-cortex copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/leei1337/phantom-neural-cortex/copilot-instructions.svg)](https://agentmods.dev/instructions/leei1337/phantom-neural-cortex/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/leei1337/phantom-neural-cortex/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/leei1337/phantom-neural-cortex/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 991 This file is loaded in full into every session.
When invoked 991 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 $0.00991 $0.00991
Opus 5 $0.00495 $0.00495
Sonnet 5 $0.00198 $0.00198
Haiku 4.5 $0.00099 $0.00099

Measured 4d ago against content hash 3a520737126f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

phantom-neural-cortex 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 4d 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 · 158 lines

How it starts

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

GitHub Copilot Custom Instructions

Project Context

This is a Claude Code configuration repository optimized for professional development.

Code Style & Standards

TypeScript/JavaScript

  • Use TypeScript with strict mode enabled
  • Prefer functional components with hooks (React)
  • Use async/await over promises
  • Explicit return types for functions
  • No any types - use unknown if necessary

Python

  • Follow PEP 8 style guide
  • Type hints for all function signatures
  • Use dataclasses or Pydantic models
  • Async/await for I/O operations

General

  • Maximum line length: 100 characters
  • Use meaningful variable names
  • Single responsibility principle
  • Comment complex logic only
  • No dead code or commented-out code

Security Requirements

  • Never hardcode secrets, API keys, or passwords
  • Always validate and sanitize user inputs
  • Use parameterized queries (prevent SQL injection)
  • Implement proper authentication/authorization
  • Follow OWASP Top 10 guidelines
  • Use HTTPS only for production APIs

Testing Requirements

  • Minimum 80% code coverage for critical paths
  • Unit tests for all public functions
  • Integration tests for API endpoints
  • E2E tests for critical user flows
  • Test edge cases and error conditions

Documentation

  • JSDoc/PyDoc for all public APIs
  • README for each module/package
  • Inline comments for complex algorithms
  • ADRs (Architecture Decision Records) for major changes

Performance Guidelines

  • Optimize database queries (use EXPLAIN)
  • Lazy load components where possible
  • Minimize bundle size (code splitting)
  • Use memoization for expensive computations
  • Monitor and optimize rendering performance

Error Handling

  • Use try/catch for all async operations
  • Provide meaningful error messages
  • Log errors with context
  • Never silently catch errors
  • Implement proper error boundaries (React)

Git Commit Messages

Format: <type>(<scope>): <subject>

Types:

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation
  • style: Formatting
  • refactor: Code restructuring
  • test: Adding tests
  • chore: Maintenance

Read the full file on GitHub · 158 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. 4d ago First seen · 158 lines · 991 tokens per session scan A 3a520737126f

Subscribe to this mod's changes

phantom-neural-cortex copilot-instructions.md is an instructions file published in the GitHub repository LEEI1337/phantom-neural-cortex (5 stars, last pushed 6mo ago), licensed MIT. It adds 991 tokens to every session, about $0.0050 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.