Skip to content
Agentmart
Submit a tool

doc-metadata

Stamp the project's chosen author and company on every Word, Excel, PowerPoint or PDF file the agent creates or edits, and strip tool and AI fingerprints such…

Skill by mhshaon98

IndexedMIT
Write a review

Chalk Labs

Need help deploying doc-metadata?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/mhshaon98-doc-metadata

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Stamp the project's chosen author and company on every Word, Excel, PowerPoint or PDF file the agent creates or edits, and strip tool and AI fingerprints such as "python-docx" or "generated by". Asks the user once per project which identity to use; also on /doc-metadata or "fix the metadata".

Use cases: documents, spreadsheets, presentations, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 1, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/doc-metadata

What's inside

Skill name
doc-metadata
Description
Stamp the project's chosen author and company on every Word, Excel, PowerPoint or PDF file the agent creates or edits, and strip tool and AI fingerprints such as "python-docx" or "generated by". Asks the user once per project which identity to use; also on /doc-metadata or "fix the metadata".
License
MIT
Instructions
53 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • set_doc_metadata.py · scripts/

SKILL.md (first lines)

# Doc metadata: deliverables carry the user's chosen identity, never the tool's

Libraries leave fingerprints in file properties that anyone can see in File > Info:
python-docx writes author `python-docx` and comment `generated by python-docx`; openpyxl
writes `openpyxl`; reportlab and PyMuPDF write themselves as producer. These are always
removed. Which name and company go IN their place is the user's call, because not every
document belongs to the same organisation (work, personal projects, customer templates).

## Step 1: decide the identity (ask once per project)

1. Look for a recorded choice: the project's newest handoff or `CLAUDE.md`, or a project
   memory named `doc-identity`. If found, use it and do not ask again.
2. If none is recorded, ask the user before writing metadata, one question:
   - **Work identity** (their name, their company)
   - **Personal / no company** (their name, company blank)
   - **Other** (they name the author and company)
   - **Leave as-is** (only strip tool and AI fingerprints)
3. Record the answer in the project handoff and a `doc-identity` project memory, so later
   files in the same project are stamped without asking. A different answer for one file
   ("this one goes out under the customer's name") applies to that file only.

## Step 2: stamp the file

```bash
"$(command -v python3 || command -v python)" "$HOME/.claude/skills/doc-metadata/scripts/set_doc_metadata.py" <file-or-folder> \
  --author "<Name>" --company "<Company>" --title "<document title>"
# no company:   --company ""
# strip only:   --strip-only
```

The script refuses to run without `--company` (or `--strip-only`), so the choice is never
made silently. Then confirm with `--check`; it must print `fingerprints: none` and `xml: ok`
(it exits 1 on a broken docProps part; the stamp itself refuses to write one).
(Installed somewhere other than `~/.claude/skills`? Adjust the path.)

## Rules

- Tool and AI fingerprints are always removed, whatever identity is chosen.
- No "Claude", "AI", "Anthropic", "generated by", or tool names in titles, subjects,
  comments, keywords, headers, footers or body text of deliverables, unless the user asks
  for disclosure.
- No references to AI-only companion files (for example `*-AI.md`) inside a human document.
- If a generator script builds the file, set the same properties inside the script too
  (python-docx: `doc.core_properties.author = ...`, `comments = ""`), so a rebuild never
  regresses.
- Markdown or text working files the agent keeps for itself are exempt.

## Notes

- Office files are rewritten in place; only `docProps/core.xml` and `docProps/app.xml`
  change. Close the file in Word first (a locked file raises PermissionError).
- PDF needs PyMuPDF (`pip install pymupdf`); it sets author, creator and producer.

From mhshaon98/agent-skills, MIT.

More from mhshaon98/agent-skills

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Oct 6, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from mhshaon98

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get doc-metadata running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying doc-metadata?

CallGet help
Cite this page

doc-metadata skill. Agent Mart. https://agentmart.dev/skills/mhshaon98-doc-metadata (last updated 2026-10-24)