Skip to content

Instantly share code, notes, and snippets.

View axsddlr's full-sized avatar
🎯
Focusing

Andre Saddler axsddlr

🎯
Focusing
View GitHub Profile
@axsddlr
axsddlr / prompts.md
Created March 22, 2026 17:51 — forked from mberman84/prompts.md
Prompts

OpenClaw: Extracted Prompts (Generalized)

22 copy/paste-ready prompts for building your own AI agent system. Each prompt builds a functional system or implements a proven best practice you can hand to an AI coding assistant.

Replace placeholders like <your-workspace>, <your-messaging-platform>, and <your-model> with your own values.


1. Personal CRM

@axsddlr
axsddlr / all_files.md
Created March 22, 2026 17:51 — forked from mberman84/all_files.md
Matt's Markdown Files

OpenClaw: System Prompt File Templates

Generalized versions of all root .md files used by OpenClaw. These files are loaded into the agent's system prompt on every request (except MEMORY.md which is conditional).

Copy these as starting points and customize for your own setup. Replace <placeholders> with your values.


AGENTS.md

@axsddlr
axsddlr / AGENT.𝗺𝗱
Created March 1, 2026 07:02 — forked from CodeLeom/AGENT.𝗺𝗱
Best practices and workflows to use with an AI agent on any project
## Workflow Orchestration
### 1. Plan Mode Default
- Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions)
- If something goes sideways, STOP and re-plan immediately
- Don't keep pushing.
- Use plan mode for verification steps, not just building
- Write detailed specs upfront to reduce ambiguity
### 2. Subagent Strategy
@axsddlr
axsddlr / claude_3.5_sonnet_artifacts.xml
Created June 28, 2024 20:14 — forked from dedlim/claude_3.5_sonnet_artifacts.xml
Claude 3.5 Sonnet, Full Artifacts System Prompt
<artifacts_info>
The assistant can create and reference artifacts during conversations. Artifacts are for substantial, self-contained content that users might modify or reuse, displayed in a separate UI window for clarity.
# Good artifacts are...
- Substantial content (>15 lines)
- Content that the user is likely to modify, iterate on, or take ownership of
- Self-contained, complex content that can be understood on its own, without context from the conversation
- Content intended for eventual use outside the conversation (e.g., reports, emails, presentations)
- Content likely to be referenced or reused multiple times
@axsddlr
axsddlr / dispatch_openai_requests.py
Created April 23, 2023 05:09 — forked from neubig/dispatch_openai_requests.py
A simple script to get results from the OpenAI Asynchronous API
import openai
import asyncio
from typing import Any
async def dispatch_openai_requests(
messages_list: list[list[dict[str,Any]]],
model: str,
temperature: float,
max_tokens: int,
top_p: float,
@axsddlr
axsddlr / promptconvert.py
Created February 23, 2023 00:55 — forked from watzon/promptconvert.py
Stable Diffusion WebUI to InvokeAI prompt conversion script
import re
import argparse
re_attention = re.compile(r"""
\\\(|
\\\)|
\\\[|
\\]|
\\\\|
\\|
@axsddlr
axsddlr / clip_interrogator.py
Created January 29, 2023 20:30
clip-interrogator
# CLIP Interrogator 2.2 by [@pharmapsychotic](https://twitter.com/pharmapsychotic)
#
# Want to figure out what a good prompt might be to create new images like an existing one? The CLIP Interrogator is here to get you answers!
#
# <br>
#
# For Stable Diffusion 1.X choose the **ViT-L** model and for Stable Diffusion 2.0+ choose the **ViT-H** CLIP Model.
#
# This version is specialized for producing nice prompts for use with Stable Diffusion and achieves higher alignment between generated text prompt and source image. You can try out the old [version 1](https://colab.research.google.com/github/pharmapsychotic/clip-interrogator/blob/v1/clip_interrogator.ipynb) to see how different CLIP models ranks terms.
#
@axsddlr
axsddlr / index.html
Created December 5, 2018 21:26
Social media hover icons with pop-up titles
<div>
<a href="#"><span>Facebook</span></a>
<a href="#"><span>Twitter</span></a>
<a href="#"><span>Google+</span></a>
<a href="#"><span>Github</span></a>
<a href="#"><span>Dribbble</span></a>
<a href="#"><span>CodePen</span></a>
</div>
/home/ayysir/.pm2/logs/soge-out.log last 15 lines:
0|soge | at Object.modify (/home/ayysir/soge/node_modules/nedb/lib/mod el.js:458:15)
0|soge | at /home/ayysir/soge/node_modules/nedb/lib/datastore.js:618:3 3
0|soge | at /home/ayysir/soge/node_modules/nedb/lib/datastore.js:329:1 4 } reason: TypeError: Cannot set property '[object Array]' of null
0|soge | 2018-11-21T02:21:02.973 !!! ERROR !!! Possibly Unhandled Rejection at: Promise {
0|soge | <rejected> TypeError: Cannot set property '[object Array]' of nul l
0|soge | at Object.lastStepModifierFunctions.$set (/home/ayysir/soge/n ode_modules/nedb/lib/model.js:253:14)
0|soge | at Object.$set (/home/ayysir/soge/node_modules/nedb/lib/model .js:417:42)
0|soge | at Object.$set (/hom
@axsddlr
axsddlr / index.pug
Created November 19, 2018 21:23
Stylish Social Buttons
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'>
<link href='https://fontastic.s3.amazonaws.com/sEsaN6ZPMiVLUYDwwr6us4/icons.css' rel='stylesheet' type='text/css'>
-var sites = [
- 'facebook',
- 'twitter',
- 'google',
- 'steam',