Back to skills
SKILL.md
Working With Headersfooters
ASecuritySub-skill of docx: Working with Headers/Footers.
- 17 stars
- 0 votes
- 0 copies
- 3 views
- Added September 9, 2026
Security analysis
100/100npx -y skills add vamseeachanta/workspace-hub --skill working-with-headersfooters --agent claude-codeAre you the author of Working With Headersfooters?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vamseeachanta-working-with-headersfooters)---
name: docx-working-with-headersfooters
description: 'Sub-skill of docx: Working with Headers/Footers.'
version: 1.1.0
category: data
type: reference
scripts_exempt: true
---
# Working with Headers/Footers
## Working with Headers/Footers
```python
from docx import Document
doc = Document()
# Add header
section = doc.sections[0]
header = section.header
header_para = header.paragraphs[0]
header_para.text = "Document Header"
# Add footer
footer = section.footer
footer_para = footer.paragraphs[0]
footer_para.text = "Page Footer"
doc.save("with_header_footer.docx")
```
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.