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.
npx agentmods add instructions/groupdocs-redaction/groupdocs.redaction-for-python-via-.net/agents-mdgit clone --depth 1 https://github.com/groupdocs-redaction/GroupDocs.Redaction-for-Python-via-.NETWhat 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 | $0.04665 | $0.04665 |
| Opus 5 | $0.02332 | $0.02332 |
| Sonnet 5 | $0.00933 | $0.00933 |
| Haiku 4.5 | $0.00466 | $0.00466 |
Grade C, and why
GroupDocs.Redaction-for-Python-via-.NET AGENTS.md scanned grade C with 2 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 2d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
**`System.Drawing.Common is not supported`** -- install libgdiplus: `sudo apt install libgdiplus` (Linux) / `brew install mono-libgdiplus` (macOS) Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
Works with Claude Code (`~/.claude/settings.json`), Cursor (`.cursor/mcp.json`), VS Code Copilot (`.vscode/mcp.json`), and any MCP-compatible client. If MCP is unavailable, fall back to the LLM-optimized docs URL above a How it starts
The opening of the file, as written. The whole thing — 379 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GroupDocs.Redaction for Python via .NET -- AGENTS.md
Instructions for AI agents working with this package.
Permanently remove sensitive content from documents -- redact text by exact phrase or regex, scrub or rewrite metadata, replace or delete annotations, black out image regions, remove pages, and rasterize the result so nothing redacted can be recovered. Works across Word, Excel, PowerPoint, PDF, images, and text formats through one unified API, with no MS Office or external software installed.
Install
pip install groupdocs-redaction-net
Python: 3.5 - 3.14 | Platforms: Windows, Linux, macOS
Resources
| Resource | URL |
|---|---|
| Documentation | https://docs.groupdocs.com/redaction/python-net/ |
| LLM-optimized docs | https://docs.groupdocs.com/redaction/python-net/llms-full.txt |
| API reference | https://reference.groupdocs.com/redaction/python-net/ |
| Code examples | https://docs.groupdocs.com/redaction/python-net/developer-guide/ |
| Release notes | https://releases.groupdocs.com/redaction/python-net/release-notes/ |
| PyPI | https://pypi.org/project/groupdocs-redaction-net/ |
| Free support forum | https://forum.groupdocs.com/c/redaction/ |
| Temporary license | https://purchase.groupdocs.com/temporary-license |
MCP Server
If your environment has MCP configured, you can connect your AI tool to the GroupDocs documentation server for on-demand API lookups:
{
"mcpServers": {
"groupdocs-docs": {
"url": "https://docs.groupdocs.com/mcp"
}
}
}
Works with Claude Code (~/.claude/settings.json), Cursor (.cursor/mcp.json), VS Code Copilot (.vscode/mcp.json), and any MCP-compatible client. If MCP is unavailable, fall back to the LLM-optimized docs URL above and this file -- both are shipped inside the wheel.
Imports
from groupdocs.redaction import (
License, Metered, Redactor, RedactionPolicy,
RedactionResult, RedactionStatus, RedactorChangeLog, RedactorLogEntry,
FileType, IDocumentInfo,
)
from groupdocs.redaction.redactions import (
# Text
ExactPhraseRedaction, RegexRedaction, CellColumnRedaction, CellFilter,
PageAreaRedaction, ReplacementOptions, RegionReplacementOptions,
# Metadata
EraseMetadataRedaction, MetadataSearchRedaction, MetadataFilters,
# Annotations
AnnotationRedaction, DeleteAnnotationRedaction,
# Image / page
ImageAreaRedaction, RemovePageRedaction, PageSeekOrigin,
# Custom rules / callback
ICustomRedactionHandler, CustomRedactionContext, CustomRedactionResult,
IRedactionCallback, RedactionDescription, RedactionType, RedactionActionType,
)
from groupdocs.redaction.options import (
LoadOptions, SaveOptions, RasterizationOptions, AdvancedRasterizationOptions,
PdfComplianceLevel, PreviewOptions, PreviewFormats, RedactorSettings,
)
from groupdocs.redaction.exceptions import (
GroupDocsRedactionException, DocumentFormatException,
IncorrectPasswordException, PasswordRequiredException, TrialLimitationsException,
)
from groupdocs.pydrawing import Color, Point, Size # for box / image-area redactions
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.
- 2d ago First seen · 379 lines · 4,665 tokens per session scan C 68be8b9b3e82
GroupDocs.Redaction-for-Python-via-.NET AGENTS.md is an instructions file published in the GitHub repository groupdocs-redaction/GroupDocs.Redaction-for-Python-via-.NET (5 stars, last pushed 2mo ago), licensed MIT. It adds 4,665 tokens to every session, about $0.0233 per session on Opus 5. A static security scan graded it C with 2 findings (asks for root, reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
redmem CLAUDE.md
Instructions for tokligence/redmem, covering redmem — development guide, the one that will bite you first: the interpreter, running the tests, architecture: the dispatcher chain and the shield's data model.
GroupDocs.Comparison-for-Python-via-.NET copilot-instructions.md
Instructions for groupdocs-comparison/GroupDocs.Comparison-for-Python-via-.NET, covering install, minimal working example, common pitfalls, sdk, not cloud or mcp and links.
GroupDocs.Comparison-for-Python-via-.NET AGENTS.md
Instructions for groupdocs-comparison/GroupDocs.Comparison-for-Python-via-.NET, covering groupdocs.comparison for python via .net -- agents.md, install, resources, mcp server and imports.
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.
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).
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.