github-profile-rules

github-profile-rules is a command for Claude Code from notque/vexjoy-agent. It costs 16 tokens per session (268 once invoked), scanned A, original, MIT.

A GitHub profile analysis pipeline that examines a developer's public repositories and pull-request reviews to identify coding rules and preferences. It turns repeated patterns into a set of programming conventions.

In plain words
What is it for?
Use it to study repositories, mine pull-request review patterns, extract coding conventions, and compile them into reusable rules.
Why use it?
It helps replace guesswork about someone's coding style with rules based on their public work. Validation checks the generated rules for contradictions and quality.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Good fit Use it to study repositories, mine pull-request review patterns, extract coding conventions, and compile them into reusable rules.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/notque/vexjoy-agent/github-profile-rules
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.

Clone the repo
git clone --depth 1 https://github.com/notque/vexjoy-agent

Made for: Claude Code.

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 github-profile-rules

README.md
[![agentmods](https://agentmods.dev/badge/commands/notque/vexjoy-agent/github-profile-rules/github.svg)](https://agentmods.dev/commands/notque/vexjoy-agent/github-profile-rules)
Your own site
<a href="https://agentmods.dev/commands/notque/vexjoy-agent/github-profile-rules"><img src="https://agentmods.dev/badge/commands/notque/vexjoy-agent/github-profile-rules/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 github-profile-rules

Your own site · 80×15
<a href="https://agentmods.dev/commands/notque/vexjoy-agent/github-profile-rules"><img src="https://agentmods.dev/badge/commands/notque/vexjoy-agent/github-profile-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 268 The whole file, excluding the scripts and references it only reads on demand.
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.00016 $0.00268
Opus 5.5 $0.00006 $0.00107
Sonnet 5.5 $0.00003 $0.00054
Haiku 4.5 $0.00002 $0.00027

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

Security

Grade A, and why

github-profile-rules 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.

commands/github-profile-rules.md · 35 lines

What it actually says

GitHub Profile Rules Pipeline

Extract programming rules and coding conventions from a GitHub user's public profile via API.

Instructions

Call the Skill tool with toolkit, then read skills/meta/toolkit/references/github-profile-rules.md and skills/meta/toolkit/references/github-profile-rules/rule-categories.md.

Phases

7-phase pipeline: PROFILE SCAN -> CODE ANALYSIS -> REVIEW MINING -> PATTERN SYNTHESIS -> RULES GENERATION -> VALIDATION -> OUTPUT

Scripts

Script Purpose
scripts/github-api-fetcher.py GitHub REST API client: repos, file contents, PR reviews
scripts/rules-compiler.py Deduplication, confidence scoring, markdown/JSON formatting

Usage

/do extract programming rules from github user {username}
/do analyze coding style of github profile {username}
/do generate CLAUDE.md rules from {username}'s github

ARGUMENTS: $ARGUMENTS

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 Changed · -22 lines · +16 tokens per session ad4cf0649ed8
  2. 12d ago Changed f8ea7f29d5e7
  3. 3mo ago First seen · 57 lines · 0 tokens per session scan A c23c452bd755

Subscribe to this mod's changes

github-profile-rules is a command published in the GitHub repository notque/vexjoy-agent (452 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 268 once invoked, about $0.0001 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

github-profile-rules compared with commands from other repositories

github-profile-rules next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-profile-rulesnotque/vexjoy-agentCommand452todayMITA16Claude Code
widget-lintsecondsky/sap-skillsCommand51118d agoGPL-3.0A21Claude Code
close-the-booksGAJETOso/financeskillsCommand52todayMITA0Claude Code
api-style-reviewsecondsky/sap-skillsCommand51118d agoGPL-3.0A26Claude Code
btp-architecture-reviewsecondsky/sap-skillsCommand51118d agoGPL-3.0A27Claude Code
reflectAmey-Thakur/AI-SKILLSCommand142mo agoMITA38Claude Code
pr-descriptionAmey-Thakur/AI-SKILLSCommand142mo agoMITA23Claude Code