InvestSkill: Instructions file for GitHub Copilot

.github/copilot-instructions.md

InvestSkill copilot-instructions.md is an instructions file for GitHub Copilot from yennanliu/InvestSkill. It costs 4,465 tokens per session, scanned A, original, MIT.

A set of instructions for GitHub Copilot inside InvestSkill, a repository containing stock-market research methods for US companies.

In plain words
What is it for?
It is for setting up Copilot and applying the repository’s stock-analysis frameworks, including valuation and other investment research tasks.
Why use it?
It gives Copilot a defined set of analysis methods when working in that repository, instead of requiring the user to explain the methods each time.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file. Also seen: positional $N argument; mentions Claude Code; mentions Gemini CLI.

This is yennanliu/InvestSkill's own configuration. It tells GitHub Copilot how to work on InvestSkill 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 InvestSkill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to yennanliu/InvestSkill. 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/yennanliu/InvestSkill/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/yennanliu/InvestSkill

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/yennanliu/investskill/copilot-instructions/github.svg)](https://agentmods.dev/instructions/yennanliu/investskill/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/yennanliu/investskill/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/yennanliu/investskill/copilot-instructions/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 InvestSkill copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/yennanliu/investskill/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/yennanliu/investskill/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,465 This file is loaded in full into every session.
When invoked 4,465 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.04465 $0.04465
Opus 5.5 $0.01786 $0.01786
Sonnet 5.5 $0.00893 $0.00893
Haiku 4.5 $0.00447 $0.00447

Measured 19d ago against content hash 03dc58673929, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

InvestSkill 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 19d 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 · 478 lines

How it starts

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

InvestSkill — GitHub Copilot Setup & Usage Guide

This repository contains 34 professional investment analysis frameworks for US stock markets. When working in this workspace, Copilot automatically loads these analysis methodologies to provide institutional-quality investment analysis.

Installation & Setup

Automatic Setup

GitHub Copilot automatically loads this file when you work in the InvestSkill repository. No manual installation required.

  1. Clone the repository:

    git clone https://github.com/yennanliu/InvestSkill.git
    cd InvestSkill
    
  2. Open in your editor:

    • VS Code: code .
    • JetBrains IDE (IntelliJ, PyCharm, etc.): Open the folder
    • GitHub.com Web Editor: Click . key in any GitHub repo view
  3. Open Copilot Chat (usually Ctrl+K or Cmd+K)

    • Copilot automatically loads copilot-instructions.md
    • You now have access to all 34 analysis frameworks

Verify Setup

In Copilot Chat, try:

Use the stock-valuation framework to analyze Apple (AAPL)

If Copilot references the frameworks, setup is complete!


Available Analysis Frameworks (34 frameworks + 3 aliases + 2 output tools)

Core Stock Analysis (5 frameworks)

Framework File Best For
Stock Evaluation prompts/stock-eval.md Comprehensive stock quality scoring
Stock Valuation prompts/stock-valuation.md Multi-method valuation (DCF + comps + EV)
Technical Analysis prompts/technical-analysis.md Chart patterns and indicators
Economics Analysis prompts/economics-analysis.md Macro outlook and recession risk
Head-to-Head Compare prompts/compare.md Compare 2–5 stocks head to head on one table — business quality, growth, valuation, balance sheet, momentum, risks and catalysts — then argue the pick: which one, why, what would flip it, and whether owning more than one adds anything

Financial Report Analysis (5 frameworks)

Framework File Best For
Financial Report Analyst prompts/financial-report-analyst.md 10-K/10-Q analysis
10-K Report Digest prompts/10k-digest.md Structured digest doc — abstract, summaries, metrics, refs (EN/繁中)
Earnings Call Analysis prompts/earnings-call-analysis.md Management tone and guidance
Forensic Accounting prompts/forensic-accounting.md Earnings-quality forensics — Beneish M-Score, Altman Z, Sloan accruals ratio, cash-vs-earnings divergence, SBC-adjusted FCF, revenue-recognition and capitalisation checks, auditor and related-party flags, scored as a Manipulation Risk Score 0–10
Credit Check prompts/credit-check.md Balance-sheet solvency and refinancing risk — debt maturity wall, interest coverage trend, leverage vs. covenants, liquidity runway, ratings and spreads, the cost of refinancing at today's rates, and an equity-holder verdict, scored as a Credit Health Score 0–10

Read the full file on GitHub · 478 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. 19d ago Changed · +2 lines · +97 tokens per session 03dc58673929
  2. 1mo ago Changed · +8 lines · +316 tokens per session 28b1816dd71d
  3. 2mo ago Changed · +32 lines · +869 tokens per session 50ece25b2012
  4. 3mo ago First seen · 436 lines · 3,183 tokens per session scan A 2b67d5b85ad3

Subscribe to this mod's changes

InvestSkill copilot-instructions.md is an instructions file published in the GitHub repository yennanliu/InvestSkill (295 stars, last pushed 19d ago), licensed MIT. It adds 4,465 tokens to every session, about $0.0179 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

InvestSkill copilot-instructions.md compared with instructions from other repositories

InvestSkill copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
InvestSkill copilot-instructions.mdyennanliu/InvestSkillInstructions file29519d agoMITA4,465GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,951Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109ktodayMITA3,077GitHub Copilot