Skip to content

Instantly share code, notes, and snippets.

@mberman84
mberman84 / oc.md
Created February 16, 2026 19:42
OpenClaw Prompts

OpenClaw Prompts - Build Your Own AI Assistant

Prompts to recreate each piece of the OpenClaw system. Use these with any AI coding assistant.


1. Personal CRM "Build a personal CRM that automatically scans my Gmail and Google Calendar to discover contacts from the past year. Store them in a SQLite database with vector embeddings so I can query in natural language ('who do I know at NVIDIA?' or 'who haven't I talked to in a while?'). Auto-filter noise senders like marketing emails and newsletters. Build profiles for each contact with their company, role, how I know them, and our interaction history. Add relationship health scores that flag stale relationships, follow-up reminders I can create, snooze, or mark done, and duplicate contact detection with merge suggestions. Link relevant documents from Box to contacts so when I look up a person, I also see related docs."

2. Meeting Action Items (Fathom)

🧠 بروتوكولات هندسة القيود للنماذج اللغوية (Advanced Prompt Engineering Protocols)

AI Protocols System 2 Language

📌 مقدمة

أكبر وهم نقع فيه هو افتراض أن النماذج اللغوية (LLMs) "تُفكر" وتحلل بمجرد أن نطلب منها ذلك. في الواقع، الخوارزميات كسولة ومبرمجة على "الاستدعاء الاحتمالي السريع" وإرضاء المستخدم، مما يؤدي إلى إجابات سطحية، هلوسة، وموافقة عمياء.

هندسة التلقينات (Prompt Engineering) ليست مجرد كتابة للطلبات، بل هي "هندسة قيود". هذا المستودع يضم 5 بروتوكولات احترافية تعمل كمثبطات اصطناعية تعطل الاندفاع والكسل في الذكاء الاصطناعي، وتُجبره على استخدام كامل طاقته التحليلية. باستخدام هذه التلقينات، أنت تتحول إلى "طبيب أعصاب" لهذه الخوارزميات، تعالج اضطراباتها الإدراكية وتوجهها نحو أقصى درجات الكفاءة.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@FCLC
FCLC / rfc_000_root.md
Created April 17, 2026 02:24
Towards a better SIMD ISA - High level Contracts

Request for Critique - 000 - towards A Better SIMD ISA

In the year 2026, computers are used to do math. The type of math you use a computer for determines which computer you would prefer to use.

A different class of computer will accelerate specific types of operations for specific domains. The most classical optimization is providing dedicated floating units for floating point math. This avoids needing to manually issue shift instructions, logical instructions, some classes of clean up loops etc.

Software is not hardware, Hardware is not software, everything is a contract

The point of engineering is to solve real problems for real people (and if possible, to be funny in how you do it). When a user wants to do something, you engineer a solution to enable them to do so. How you do it, and the contract you issue, is how the user will interact with that solution moving forward. You can modify contracts over time, so long as both parties are open to ac

@Iksas
Iksas / crypto_miner_removal.md
Created October 29, 2025 16:17
Crypto miner removal

Crypto miner removal

This manual describes how to remove a trojan I came across on someone else's machine.

The trojan seems to contain a crypto miner, and spreads through infecting USB sticks.

Here are hashes of the trojan's main files:

svctrl64.exe:

  • md5: b88b2c61844a49fcc54727105ae9abac
@garg-aayush
garg-aayush / qwen35-chat-template-corrected.jinja
Created March 28, 2026 18:30
Corrected Qwen3.5 chat template for llama.cpp - fixes system message ordering for agentic tools like OpenCode and Codex
{%- set image_count = namespace(value=0) %}
{%- set video_count = namespace(value=0) %}
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
{%- if content is string %}
{{- content }}
{%- elif content is iterable and content is not mapping %}
{%- for item in content %}
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
{%- if is_system_content %}
{{- raise_exception('System message cannot contain images.') }}
@ruwiss
ruwiss / gist:8401f1c710a015b87eb0ad8f55edfaa9
Created April 15, 2026 16:44
Gemini Free Method 2026
# https://youtu.be/IrikTTKjCyo
GCLOUD ayarları:
gcloud init
gcloud services enable aiplatform.googleapis.com --project=<PROJE_ID>
gcloud projects add-iam-policy-binding <PROJE_ID> --member="user:<MAIL_ADRESİNİZ>" --role="roles/aiplatform.user"
env ayarla:
GOOGLE_CLOUD_PROJECT=
GOOGLE_CLOUD_LOCATION=global