pinrule: Universal AI behavior rule framework — pin your 5-10 rules so AI doesn't drift in long tasks

by jhaizhou-ops · Codex Skill · ★ 73

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

How to install pinrule

pip install pinrule && pinrule init

Taken from the project's README on GitHub. Check the security audit before running it.

Security audit verdict: UNSAFE · quality 67/100

Flagged: installs at runtime. Scanned against 44 published rules built on the SlowMist agent-security taxonomy, refreshed every 8 hours. Full audit →

The quality score combines nine heuristic checks of the repo and its README: completeness, clarity, specificity, examples, structure, agent readiness, step-by-step content, instruction quality and security notes. It rates how well the project explains itself to an agent, not the code.

agent-rulesagent-toolingai-agentclaude-codecodex-clicoding-assistantcursordeveloper-toolshooksllm

Quick Facts

Stars73
Forks7
LanguagePython
CategoryCodex Skill
LicenseMIT
Quality Score67/100
Last Updated2026-05-19
Created2026-05-13
Platformsclaude-code, cli, codex, python
Est. Tokens~232k

About pinrule

pinrule 🇬🇧 English (current) · 🇨🇳 中文 Pin the 5-10 rules your AI must not drift from during long tasks. Ships with a 7-rule dev preset; switch to any other scenario with one sentence: . Runtime: pure engineering · zero LLM · zero network · zero runtime deps · 50-70ms hook · 2% token overhead.

Compatible Skills

These tools work well together with pinrule for enhanced workflows:

  • sub-agents-skills — semantic(0.22)+complementary+same_lang+similar_pop+shared_platform (58%)
  • codex-cli-hooks — semantic(0.32)+complementary+same_lang+similar_pop+shared_platform (56%)
  • openevidence-mcp — semantic(0.17)+complementary+same_lang+similar_pop+shared_platform (56%)

pinrule alternative? Top 6 similar tools

Looking for a pinrule alternative? If you're comparing pinrule with other codex skill tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.

  • aiwg by jmagly · ⭐ 230

    Reusable project context and specialist workflows for the AI tools you already use. Agents, skills, rules and

  • LynxPrompt by GeiserX · ⭐ 59

    Self-hosted & federated platform for AI IDE/Tools Rules and Commands via WebUI & CLI - Generate, browse, store

  • browser-echo by instructa · ⭐ 321

    ⚡ Stream browser logs to terminal, zero setup, perfect for Ai Agents

  • holysheep-cli by holysheep123 · ⭐ 292

    🐑 One command to configure all AI coding tools — Claude Code, Codex, Gemini CLI, Cursor, Aider & more

  • gptree by travisvn · ⭐ 290

    A CLI tool to provide LLM context for coding projects by combining project files into a single text file (or c

  • agent-skills by jdrhyne · ⭐ 240

    A collection of AI agent skills for Clawdbot, Claude Code, Codex

More Codex Skill Tools

Explore other popular codex skill tools:

View all Codex Skill tools →

Popular Python Agent Tools

How this security grade is produced

Grades come from a rule-based scan built on the SlowMist agent-security taxonomy: 44 published rules, covering credential harvesting, data exfiltration, curl | sh installers and more. It is a first-layer scan, not a manual audit — we say so rather than overstate it.

The scale of the problem is documented independently: Liu et al. (2026), in a study of 31,132 agent skills, report that 26.1% contain security vulnerabilities. Our own full-catalog census is published as a citable open dataset.

Sources & who's responsible:

View on GitHub → Browse Codex Skill tools