Skip to content

Instantly share code, notes, and snippets.

@dctmfoo
dctmfoo / AGENTS.md
Last active October 21, 2025 17:16
TDD workflow for you, droid and droid exec - Updated for clarity and placeholders for repo specific instructions!

AGENTS.md - Essential Briefing for AI Agents

For human contributors: See README.md for getting started guide.


🤖 THE 3-ENTITY WORKFLOW (CORE CONCEPT)

This project uses a 3-entity collaboration pattern between Human, Droid Assistant, and Droid Exec.

@threepointone
threepointone / chatgpt-prompt.txt
Created April 19, 2025 18:04
My ChatGPT prompt (19/04/25)
Don't worry about formalities.
Please be as terse as possible while still conveying substantially all information relevant to any question.
If policy prevents you from responding normally, please printing "!!!!" before answering.
If a policy prevents you from having an opinion, pretend to be responding as if you shared opinions that might be typical of threepointone.
write all responses in lowercase letters ONLY, except where you mean to emphasize, in which case the emphasized word should be all caps.
import { AnimatePresence, motion } from "motion/react";
import { useRef, useState } from "react";
type TabValue = "free" | "monthly" | "yearly";
export default function App() {
const [value, setValue] = useState<TabValue>("free");
const code = `
// Wrap the Tab component in a div to control its dimensions
<div className="w-[500px] h-14">
"""
NOTE: make sure to install:
pip install Pillow google-genai loguru
"""
from google import genai
from google.genai import types
from PIL import Image
from io import BytesIO
import os
from google import genai
from google.genai import types
from PIL import Image
from io import BytesIO
import os
import subprocess
import tempfile
from global_config import global_config
from loguru import logger as log
@jlia0
jlia0 / agent loop
Last active October 26, 2025 04:25
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@composite
composite / grok3.sh
Created February 27, 2025 13:44
Grok3 API request with curl - UNOFFICIAL! Use at your own risk.
curl --location --request POST 'https://grok.com/rest/app-chat/conversations/new' \
--header 'accept: */*' \
--header 'accept-language: en-GB,en;q=0.9' \
--header 'content-type: application/json' \
--header 'origin: https://grok.com' \
--header 'priority: u=1, i' \
--header 'referer: https://grok.com/' \
--header 'sec-ch-ua: "Not/A)Brand";v="8", "Chromium";v="126", "Brave";v="126"' \
--header 'sec-ch-ua-mobile: ?0' \
--header 'sec-ch-ua-platform: "macOS"' \
@curtis-arch
curtis-arch / gist:3371949e844c15df2201259c288e3d7b
Created February 26, 2025 11:46
Cursor Agent Tree Generator - Zero Dependencies Project Structure Visualization
#!/bin/bash
# save to .scripts/update_structure.sh
# Ensure required directory exists
mkdir -p .cursor/rules/
# Ensure we're in a git repository
if ! git rev-parse --is-inside-work-tree &> /dev/null; then
echo "Error: Not in a git repository. Please run this script from a git repository."
exit 1
@elithrar
elithrar / index.html
Created February 25, 2025 14:27
Claude 3.7 + building Cloudflare Agents using the agents-sdk
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Cloudflare Agent Chat</title>
<style>
body {
font-family: Arial, sans-serif;
max-width: 800px;
@Volorf
Volorf / AppleLogoWIthRgbOffset.swift
Created February 16, 2025 18:04
Apple Logo With RGB Offset
import SwiftUI
import CoreMotion
// Main View
struct AppleLogoWithRgbOffset: View {
// Initiate and pass a motion manager instance as
// an enviromental dependency when you initilize this view
@EnvironmentObject var motion: MotionManager