Command Palette

Search for a command to run...

A Ready-Made Setup Gist for Claude Code and OpenCode

Published on:
Reading time:2 min read

A Ready-Made Setup Gist for Claude Code and OpenCode

If you use Claude Code or OpenCode, you know the drill: installing the tool is easy, but properly setting up the ecosystem - rules, agents, MCP servers, skills - takes time. Instead of repeating the same steps for every project, I put together a gist that automates the entire process.

How Does It Work?

Just paste this prompt into your AI assistant:

Read this gist and set up my project: https://gist.github.com/senrecep/98d3583717581a4138bac62344261f6f

The AI reads the gist, asks which tool you're using, then picks the right setup path and executes it step by step.

What Does It Do?

  • Fresh setup: Creates Speckit, OpenContext, MCP server, custom agent, rule, and skill directories. Generates your CLAUDE.md via /init and tailors it to your project.
  • Existing project: Runs specify constitution analyze to detect your project's existing patterns and adapts the setup accordingly.
  • Cross-tool migration: Switching from Claude Code to OpenCode or vice versa? It handles MCP format conversion, rule transfers, and agent conversion automatically.
  • Using both tools: Keeps MCP servers, context files, and rules in sync between the two tools via timestamp-based bidirectional sync.

Why Do You Need This?

Your AI assistant is only as good as the context you give it. A properly configured CLAUDE.md, project-specific rules, and MCP integrations make a huge difference. This gist lets you handle that setup with a single prompt instead of doing it manually for every project.

Further Reading

For a deeper dive into these tools, ecosystem architecture, and practical examples, check out these two articles:


Gist: AI Code Assistant Ecosystem Setup

Share: