# Open Source Docs

> Automate FSF-compliant open-source governance, licensing, security policies, and GitHub community health files.

Open Source Docs is a free AI agent skill on Agensi by Ignacio Garbayo, in Technical Documentation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Ignacio Garbayo](https://www.agensi.io/creators/ignacio-garbayo)
- Category: [Technical Documentation](https://www.agensi.io/skills/technical-documentation)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-11
- Security: scan passed (2026-10-11); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/open-source-docs
- Tags: documentation, open-source, licensing, github-actions, compliance

## About this skill

Open-source projects often lack the essential governance files required for community adoption, security compliance, and legal protection. This skill automates the creation of a complete open-source framework, ensuring your repository meets FSF and REUSE standards without manual drafting.

### What it does
- **Governance Generation** produces critical community health files including CONTRIBUTING, CODE_OF_CONDUCT, and GOVERNANCE docs.
- **License Automation** fetches OSI-approved licenses and sets up REUSE-compliant SPDX headers and LICENSES directories.
- **Security Compliance** drafts SECURITY.md policies aligned with the EU Cyber Resilience Act (CRA).
- **CI/CD Scaffolding** configures GitHub Actions for builds, linting, and security scanning, plus Dependabot for CVE tracking.
- **Release Management** establishes CHANGELOG structures, conventional commit standards, and git flow procedures.

### How it works
1. **Survey Selection** allows you to choose from 15 specific open-source artifacts via a numbered list.
2. **Conflict Resolution** scans your current directory for existing files to determine if it should merge, overwrite, or skip.
3. **Data Collection** gathers project-specific metadata like maintainer contacts and hackathon details only for the selected modules.
4. **Validation Loop** runs automated checks including YAML syntax parsing and `reuse lint` to ensure all files are valid and placeholders are replaced.

### Frameworks & tools
The skill utilizes Python for YAML validation, `pipx` for REUSE linting, and the GitHub CLI for API interactions. It supports various OSI-approved licenses and adheres to Keep a Changelog and Contributor Covenant standards.

### Why this beats prompting it yourself
Generic prompts often miss the strict typographic and legal requirements of SPDX headers or the specific security mandates of the EU CRA. This skill executes a systematic validation loop that prevents broken YAML or empty license files from reaching your main branch.

### Use cases
- Transitioning a private internal tool to a public open-source repository.
- Preparing a hackathon project for submission with proper attribution and licensing.
- Standardizing community health files across an entire GitHub organization.
- Retrofitting a legacy repository to meet modern FSF and REUSE best practices.

### Known limitations
Initial setup requires an environment with `pipx` or `pip` to run the full REUSE linting suite. GitHub Actions SHA resolution may require manual verification if network access is restricted.

## Requires

- Python
- Node.js

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Open Source Docs skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What specific open-source governance problems does this skill solve?

This skill automates the creation of legal and community frameworks like SPDX-compliant licenses, CRA-aligned security policies, and governance docs, ensuring your project meets FSF and REUSE standards without manual drafting.

### Can I use this on an existing repository that already has a partial license or readme?

The skill performs a conflict resolution scan to identify existing files; you can then choose to merge new compliance data into them, skip them entirely, or overwrite them to meet modern standards.

### Is this skill compatible with my existing AI agent or CLI-based workflow?

Yes, the skill is designed for any environment with access to the GitHub CLI and Python/pipx for validation, making it compatible with most developer-focused AI agents and IDE extensions.

### How does this differ from just asking an LLM to write a CONTRIBUTING.md file?

Beyond just generating text, this skill executes a validation loop using `reuse lint` and YAML parsing to ensure all placeholders are filled and files are syntactically correct before deployment.

### What exactly is included in the output when I run this skill?

The skill provides a modular selection of 15 open-source artifacts, including governance docs, security policies, CI/CD scaffolding for GitHub Actions, and automated license headers.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
