Who it is forA team lead who wants every ChatGPT coding session to follow the same React or project conventions.
The problemConventions in one person's head are not applied consistently when different people or chats ask ChatGPT for code.
The outcomeThe Agent loads matching Rules when it touches relevant files and loads a Skill's full instructions when the task calls for it.
What you need first
- A ChatGPT account with access to Developer Mode and MCP apps, or the Plugins flow described in the README
- An OpenAI Platform account with permission to create a Secure MCP Tunnel and a Runtime API key
- Windows or macOS for the Desktop App, or Node.js 22.18+, npm, ripgrep, and OpenAI tunnel-client for the source install
Steps
- Open the Dashboard and go to the Toolbox that will own the rules.
- Create a .mdc Rule under the Toolbox rules folder with a description, file globs, and alwaysApply set to false.
- Choose the Rule mode: Always, Auto Attached, Agent Requested, or Manual.
- Create a Skill with a SKILL.md file that has name, description, and Markdown instructions.
- Ask the Agent to run skill_search and then skill_search with action=load for the exact Skill name.
Prompt for your agent
Using the openchatx-mcp repo, create a Rule in the <toolbox-name> Toolbox that applies to files matching <glob>, and create a Skill named <skill-name>. Then edit a file matching <glob> and report which Rule was applied. Verify that the Rule text appears in the Agent's working context before it edits the file.
Caveat. Rules are stored as files inside the Toolbox, so review them before sharing a Toolbox with others.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for XiaoPuOuO/openchatx-mcp and "Enforce coding rules and reusable workflows for ChatGPT"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer