Overview
People use Nia for various purposes - from deep technical research to code exploration and documentation analysis. To help AI coding agents understand and use Nia more effectively as an MCP server, we’ve created a collection of pre-configured rules and prompts.Agent Rules Repository
Nia Rules for Agents
Open-source configuration files that teach AI coding agents how to effectively use Nia’s capabilities.
What’s Included
The repository provides ready-to-use configuration files for popular AI coding agents:- Claude (
.claude/agents/) - Codex (
.codex/prompts/) - Cursor (
.cursor/rules/) - Windsurf (
.windsurf/rules/) - Roo Code (
.roo/rules/) - Cline (
.clinerules) - General Agents (
general-agents/)
Quick Setup
1
Clone or Download
Get the configuration files from the repository.
2
Copy Configuration
Copy the appropriate configuration file to your agent’s directory:
3
Enable Nia MCP
Ensure your agent has access to Nia’s MCP tools. See the Installation guide for setup instructions.
4
Start Using
Your agent now understands how to leverage Nia’s research and search capabilities effectively.
Contributing
The repository is open-source and welcomes contributions:- Add configurations for new AI agents
- Improve existing rule sets
- Share workflow patterns and examples
These configurations are maintained by the Nia community and are designed to help agents make the most of Nia’s MCP server capabilities.

