Borrowing it
Nothing to install: this file belongs to Pranav-Karra-3301/tuck. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Pranav-Karra-3301/tuck/main/AGENTS.mdgit clone --depth 1 https://github.com/Pranav-Karra-3301/tuckWrote 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.
[](https://agentmods.dev/instructions/pranav-karra-3301/tuck/agents-md)<a href="https://agentmods.dev/instructions/pranav-karra-3301/tuck/agents-md"><img src="https://agentmods.dev/badge/instructions/pranav-karra-3301/tuck/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.04543 | $0.04543 |
| Opus 5 | $0.02271 | $0.02271 |
| Sonnet 5 | $0.00909 | $0.00909 |
| Haiku 4.5 | $0.00454 | $0.00454 |
Grade A, and why
tuck AGENTS.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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 582 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md - AI Coding Assistant Guidelines for tuck
Instructions for GitHub Copilot, OpenAI Codex, and other AI coding assistants working on the tuck project.
Project Overview
tuck is a modern dotfiles manager CLI built with TypeScript and Node.js. It provides a beautiful, safe, and git-native way to manage configuration files across machines.
Core Values
- Safety First — Never lose user data, always confirm destructive operations
- Beautiful by Default — Polished terminal UI using @clack/prompts, chalk, boxen
- Git-Native — Built on git but abstracts complexity
- Zero-Config Start — Works immediately, powerful when configured
Tech Stack Reference
| Component | Technology | Notes |
|---|---|---|
| Runtime | Node.js 18+ | ESM modules only |
| Language | TypeScript 5.x | Strict mode enabled |
| Package Manager | pnpm 9+ | Use pnpm not npm |
| CLI Framework | Commander.js | v11+ |
| Prompts | @clack/prompts | For interactive UI |
| Styling | chalk, boxen, ora | Terminal colors/boxes/spinners |
| Git | simple-git | Async git operations |
| File System | fs-extra | Extended fs operations |
| Validation | Zod | Runtime type validation |
| Testing | Vitest | Unit and integration tests |
| Build | tsup | Bundle to single file |
Directory Structure
tuck/
├── src/
│ ├── commands/ # CLI command implementations
│ │ ├── init.ts # tuck init - Initialize tuck
│ │ ├── add.ts # tuck add <path> - Track a file
│ │ ├── remove.ts # tuck remove <path> - Untrack a file
│ │ ├── sync.ts # tuck sync - Sync changes
│ │ ├── push.ts # tuck push - Push to remote
│ │ ├── pull.ts # tuck pull - Pull from remote
│ │ ├── restore.ts # tuck restore - Restore to the system
│ │ ├── status.ts # tuck status - Show status
│ │ ├── list.ts # tuck list - List tracked files
│ │ ├── diff.ts # tuck diff - Show differences
│ │ ├── config.ts # tuck config - Manage configuration
│ │ ├── apply.ts # tuck apply - Apply dotfiles from repo
│ │ ├── undo.ts # tuck undo - Restore Time Machine snapshots
│ │ ├── scan.ts # tuck scan - Detect dotfiles on system
│ │ ├── secrets.ts # tuck secrets - Manage secrets/placeholders
│ │ ├── encryption.ts # tuck encryption - Manage backup encryption
│ │ ├── doctor.ts # tuck doctor - Health/safety diagnostics
│ │ ├── verify.ts # tuck verify - Verify system/repo/manifest
│ │ ├── bundle.ts # tuck bundle - Manage bundles (file groups)
│ │ ├── context.ts # tuck context - Track AI agent configs
│ │ ├── mcp.ts # tuck mcp - Model Context Protocol server
│ │ ├── preset.ts # tuck preset - Apply/publish curated bundles
│ │ └── repo.ts # tuck repo - Machine-local repo bindings
│ ├── lib/ # Core modules (~38 files + subdirs below)
│ │ ├── paths.ts # Path utilities
│ │ ├── config.ts # Config management
│ │ ├── manifest.ts # File tracking
│ │ ├── manifestFile.ts # Manifest read/write
│ │ ├── git.ts # Git wrapper
│ │ ├── github.ts # GitHub CLI integration
│ │ ├── files.ts # File operations
│ │ ├── fileTracking.ts # File tracking utilities
│ │ ├── trackPipeline.ts # Track pipeline orchestration
│ │ ├── backup.ts # Backup system
│ │ ├── timemachine.ts # Snapshot/time-machine backups
│ │ ├── hooks.ts # Lifecycle hooks
│ │ ├── detect.ts # Dotfile detection
│ │ ├── binary.ts # Binary file detection
│ │ ├── merge.ts # Smart merging (shell/PowerShell)
│ │ ├── mergeConflicts.ts # Merge-conflict handling
│ │ ├── materialize.ts # Materialize templates/encrypted on apply
│ │ ├── template.ts # Template rendering
│ │ ├── patternsRegistry.ts # Detection pattern registry
│ │ ├── platform.ts # Cross-platform (incl. Windows) helpers
│ │ ├── state.ts # Platform state dir (audit log, snapshots)
│ │ ├── stateModel.ts # State model types/helpers
│ │ ├── audit.ts # Audit-log writing
│ │ ├── repoScope.ts # Repo-scoped tracking resolution
│ │ ├── writeContext.ts # Sandboxed write context (--root)
│ │ ├── commandPath.ts # Command/executable path resolution
│ │ ├── jsonOutput.ts # JSON envelope helpers
│ │ ├── doctor.ts # Diagnostics engine
│ │ ├── remoteChecks.ts # Remote repository checks
│ │ ├── remoteSetup.ts # Remote setup helpers
│ │ ├── providerSetup.ts # Git provider setup wizard
│ │ ├── tuckignore.ts # .tuckignore file handling
│ │ ├── validation.ts # Input validation utilities
│ │ ├── updater.ts # Update notifications
│ │ ├── crypto/ # At-rest encryption (AES-256-GCM) + OS keystore/
│ │ ├── providers/ # Git provider implementations (github/gitlab/custom/local)
│ │ ├── secretBackends/ # 1Password/Bitwarden/pass/local backends
│ │ └── secrets/ # Secret detection, redaction, storage
│ ├── ui/ # UI components
│ │ ├── banner.ts # ASCII art
│ │ ├── logger.ts # Styled logs
│ │ ├── prompts.ts # Interactive prompts
│ │ ├── spinner.ts # Loading spinners
│ │ ├── progress.ts # Progress indicators
│ │ ├── merge.ts # Merge-conflict UI
│ │ ├── theme.ts # UI theme definitions
│ │ └── table.ts # Table output
│ ├── schemas/ # Zod schemas
│ │ ├── config.schema.ts # Configuration schema
│ │ ├── manifest.schema.ts # Manifest schema
│ │ ├── secrets.schema.ts # Secrets schema
│ │ ├── repos.schema.ts # Repo-bindings schema
│ │ ├── secretMappings.schema.ts # Secret-mappings schema
│ │ └── snapshot.schema.ts # Snapshot schema
│ ├── constants.ts # App constants
│ ├── types.ts # TypeScript types
│ ├── errors.ts # Custom errors
│ └── index.ts # Entry point
├── tests/ # Test files
├── dist/ # Build output
└── docs/ # Documentation
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.
- 8d ago First seen · 582 lines · 4,543 tokens per session scan A ef82fdc723b0
tuck AGENTS.md is an instructions file published in the GitHub repository Pranav-Karra-3301/tuck (15 stars, last pushed 1mo ago), licensed MIT. It adds 4,543 tokens to every session, about $0.0227 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.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.