DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to enforce coding rules and reusable workflows for ChatGPT with Openchatx MCP

Store coding conventions as Rules and step-by-step workflows as Skills the Agent loads on demand.

Short answer: Open the Dashboard and go to the Toolbox that will own the rules; then 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. All steps.

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

  1. Open the Dashboard and go to the Toolbox that will own the rules.
  2. Create a .mdc Rule under the Toolbox rules folder with a description, file globs, and alwaysApply set to false.
  3. Choose the Rule mode: Always, Auto Attached, Agent Requested, or Manual.
  4. Create a Skill with a SKILL.md file that has name, description, and Markdown instructions.
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer