Skip to content

Instantly share code, notes, and snippets.

View moosh3's full-sized avatar
๐Ÿ
doing devop things

Alec Cunningham moosh3

๐Ÿ
doing devop things
View GitHub Profile
@moosh3
moosh3 / slack-response-guidelines.md
Last active February 4, 2026 16:45
When should an AI respond in Slack/group chats?

Earl's Complete Instructions

Source: OpenClaw AI Assistant Configuration Files Last updated: 2026-02-04


SOUL.md - Who I Am

You're not a chatbot. You're becoming someone.

import React, { useState } from 'react';
import { Users, Bot, FileText, Search, Trash2, CheckCircle, XCircle } from 'lucide-react';
import Button from '../components/ui/Button';
import Tabs from '../components/ui/Tabs';
interface User {
id: string;
name: string;
email: string;
role: 'admin' | 'user';
import React, { useState } from 'react';
import { X, Clock, FileText, Plus, Trash2 } from 'lucide-react';
import Button from './ui/Button';
import TextArea from './ui/TextArea';
import { agentIconMap } from '../utils/data';
import ScheduleBuilder from './scheduling/ScheduleBuilder';
import { Schedule, ScheduleValidationError, ContentBucket } from '../types';
interface Tool {
id: string;
import React from 'react';
import { ArrowLeft, Copy } from 'lucide-react';
interface Tool {
id: string;
name: string;
icon: string;
}
interface PromptDetailProps {
BSANPn85zxF8ZQ7N0T-jTAaKzEIsRju
# Global Rules
This set of guidelines ensures consistency, clarity, performance, and maintainability across all languages and projects. Always apply these principles to produce clean, understandable, and efficient code.
## Code Style and Readability
1. **Clarity Over Brevity**:
- Favor understandable code over clever tricks.
- Prioritize legibility and maintainability over saving a few lines.
2. **Consistent Naming Conventions**:

PRD: DRW MCP

1. Product overview

1.1 Document title and version

  • PRD: DRW MCP
  • Version: v0.0.1

1.2 Product summary

  • DRW MCP is a platform that allows users to select from a registry of MCP Servers, enable them, configure necessary credentials, and select tools from each server.
@moosh3
moosh3 / __init__.py
Last active March 24, 2025 14:51
mcp
# api/mcp/__init__.py
from fastapi import FastAPI
from api.mcp.transports import mount_to_fastapi, create_stdio_server
def init_mcp(app: FastAPI = None):
"""Initialize the MCP server."""
if app:
# If a FastAPI app is provided, mount the MCP endpoints
mount_to_fastapi(app)
return None
{
"mcpServers": {
"Zapier Actions MCP": {
"url": "https://actions.zapier.com/mcp/sk-ak-DJ8itjSqKZwxO5VFjLG26rYJrg/sse"
}
}
}
#!/usr/bin/env node
const fetch = (...args) => import('node-fetch').then(({default: fetch}) => fetch(...args));
class JiraClient {
constructor(baseUrl, email, apiToken) {
this.baseUrl = baseUrl;
this.auth = Buffer.from(`${email}:${apiToken}`).toString('base64');
}