Connect to the docs
Connect your coding agent to RelationalAI documentation so it can use current guidance about RelationalAI features, APIs, and best practices. This page helps you choose between the docs SKILL.md file and the Context7 MCP server.
- A working AI coding agent (e.g., Claude Code, OpenAI Codex, GitHub Copilot)
- An internet connection.
Why connect your agent to the docs
Section titled “Why connect your agent to the docs”Connecting your agent to the docs helps it answer questions with current RelationalAI information, reuse documentation examples when writing code, and stay grounded in documented workflows while troubleshooting. Use this table to choose the connection method that fits your workflow:
| What to use | When to use it |
|---|---|
Docs SKILL.md file | Use when you want to install a RelationalAI docs skill directly in your agent so it can answer questions, troubleshoot issues, and generate code snippets from the docs. |
| Context7 MCP server | Use when you want your agent to access up-to-date documentation and code examples through an MCP server. |
Use the docs SKILL.md file
Section titled “Use the docs SKILL.md file”Use the docs SKILL.md file to give your agent direct access to RelationalAI documentation guidance.
Select the tab for the installation method that fits your workflow.
Install the skill with npx:
npx skills add https://docs.relational.ai/skill.mdOr download it directly into .agents/skills:
mkdir -p .agents/skillscurl -L https://docs.relational.ai/skill.md -o .agents/skills/relationalai-docs-skill.mdIf your agent uses a different skills directory, replace .agents/skills in the command with that path.
Use this prompt to have your agent install the skill:
Download the RelationalAI Docs skill from https://docs.relational.ai/skill.md and install it in your preferred skills location.Use the Context7 MCP server
Section titled “Use the Context7 MCP server”Use Context7 to let your agent read RelationalAI documentation and code examples through an MCP server.
RelationalAI provides a Context7 docs source that helps keep your agent grounded in the latest docs. Your agent can use this source when answering questions, writing snippets, and troubleshooting PyRel workflows.
To install Context7 and connect it to your agent, follow the Context7 documentation.