fake.py: Skill for Claude Code

.agents/skills/update-documentation/SKILL.md

update-documentation is a skill for Claude Code, Codex from barseghyanartur/fake.py. It costs 39 tokens per session (2,853 once invoked), scanned A, original, MIT.

A skill for comparing a project’s documentation with its source code and correcting mismatches. It checks public APIs, provider methods, command-line commands, factory classes, templates, and documentation files.

In plain words
What is it for?
Use it when asked to synchronize documentation, verify that documented APIs and commands match the code, and fix the resulting discrepancies.
Why use it?
It helps keep documentation accurate after the code changes, without relying on a separate synchronization script.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is barseghyanartur/fake.py's own configuration. It tells Claude Code and Codex how to work on fake.py 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 fake.py configures →

Reuse

Borrowing it

Nothing to install: this file belongs to barseghyanartur/fake.py. 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/barseghyanartur/fake.py/main/.agents/skills/update-documentation/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/barseghyanartur/fake.py

Made for: Claude Code, Codex.

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 update-documentation

README.md
[![agentmods](https://agentmods.dev/badge/skills/barseghyanartur/fake.py/update-documentation.svg)](https://agentmods.dev/skills/barseghyanartur/fake.py/update-documentation)
Your own site
<a href="https://agentmods.dev/skills/barseghyanartur/fake.py/update-documentation"><img src="https://agentmods.dev/badge/skills/barseghyanartur/fake.py/update-documentation.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,853 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.00039 $0.02853
Opus 5 $0.00019 $0.01426
Sonnet 5 $0.00008 $0.00571
Haiku 4.5 $0.00004 $0.00285

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

Security

Grade A, and why

update-documentation 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.

.agents/skills/update-documentation/SKILL.md · 392 lines

How it starts

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

Update Documentation Skill

Operation mode: Pure agent-based documentation synchronization.

When the user asks to sync-documentation, the agent:

  1. Scans source code to extract ground truth (public API, provider methods, CLI commands, factory classes)
  2. Scans all documentation files
  3. Identifies misalignments between code and docs
  4. Auto-fixes documentation to match code (reports what was changed)

This is NOT a Python script - the agent performs all analysis and edits directly.

Agent-Based Sync Process

When sync-documentation is invoked:

Step 1: Extract Ground Truth from Code

Scan source code to identify:

  • Public API: Exports from __all__ in fake.py (lines 76-150)
  • Provider methods: @provider decorated methods in Faker class (~lines 400-2000)
  • Helper functions: create_inner_* functions (~lines 5400-5700)
  • CLI commands: Subcommands in CLI class (~lines 6500-7000)
  • Factory classes: DjangoModelFactory, PydanticModelFactory, SQLAlchemyModelFactory, TortoiseModelFactory
  • Template classes: StringTemplate, LazyStringTemplate

Step 2: Scan Documentation Files

Read and analyze:

  • README.rst - Features, installation, quick start
  • CONTRIBUTING.rst - Developer setup, testing, PR process
  • AGENTS.md - Agent workflow
  • docs/recipes.rst - Provider examples (1,859 lines)
  • docs/cheatsheet.rst - Quick tricks
  • docs/creating_files.rst - File generation basics, StringTemplate/LazyStringTemplate
  • docs/creating_images.rst - Image formats
  • docs/creating_pdf.rst - PDF generation
  • docs/creating_docx.rst - DOCX generation
  • docs/creating_odt.rst - ODT generation
  • docs/creating_archives.rst - ZIP, TAR, EML archives
  • docs/factories.rst - Factory integrations
  • docs/customisation.rst - Custom Faker/Factory usage
  • docs/cli.rst - CLI commands

Step 3: Identify Misalignments

Compare code ground truth against documentation:

Doc File Check Against
README.rst Features list vs __all__ + provider methods
CONTRIBUTING.rst Developer prerequisites vs Makefile/pyproject.toml
docs/recipes.rst Provider examples vs actual Faker methods
docs/cheatsheet.rst Tricks vs provider methods
docs/creating_images.rst 7 formats (PNG, SVG, BMP, GIF, TIF, PPM, JPG) vs create_inner_*
docs/creating_pdf.rst PDF methods vs actual implementation
docs/creating_docx.rst DOCX methods vs implementation
docs/creating_odt.rst ODT methods vs implementation
docs/creating_archives.rst ZIP, TAR, EML methods vs implementation
docs/creating_files.rst File generation basics, StringTemplate/LazyStringTemplate usage
docs/factories.rst Factory classes in __all__ vs actual implementations
docs/customisation.rst Customization APIs vs Faker/Factory classes
docs/cli.rst CLI commands vs CLI class subcommands

Read the full file on GitHub · 392 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. 8d ago First seen · 392 lines · 39 tokens per session scan A dcdb8ab166d3

Subscribe to this mod's changes

update-documentation is a skill published in the GitHub repository barseghyanartur/fake.py (20 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 2,853 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

testing-unit

Unit testing patterns for isolated business logic tests — AAA pattern, parametrized tests (test.each, @pytest.mark.parametrize), fixture scoping (function/module/session), mocking with MSW/VCR at network level, and test data management with factories (FactoryBoy, faker-js). Use when writing unit tests, setting up…

yonatangross/orchestkit · 95 tokens

test-data-management

Strategic test data generation, management, and privacy compliance. Use when creating test data, handling PII, ensuring GDPR/CCPA compliance, or scaling data generation for realistic testing scenarios.

summarybotng/summarybot-ng · 42 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens