Skip to content

Instantly share code, notes, and snippets.

@yelban
yelban / SKILL.md
Created February 23, 2026 05:02 — forked from LuD1161/SKILL.md
codex-review - claude skill file
name description user_invocable
codex-review
Send the current plan to OpenAI Codex CLI for iterative review. Claude and Codex go back-and-forth until Codex approves the plan.
true

Codex Plan Review (Iterative)

Send the current implementation plan to OpenAI Codex for review. Claude revises the plan based on Codex's feedback and re-submits until Codex approves. Max 5 rounds.

@yelban
yelban / SKILL.md
Created January 26, 2026 18:39 — forked from kieranklaassen/SKILL.md
Claude Code Swarm Orchestration Skill - Complete guide to multi-agent coordination with TeammateTool, Task system, and all patterns
name description
orchestrating-swarms
Master multi-agent orchestration using Claude Code's TeammateTool and Task system. Use when coordinating multiple agents, running parallel code reviews, creating pipeline workflows with dependencies, building self-organizing task queues, or any task benefiting from divide-and-conquer patterns.

Claude Code Swarm Orchestration

Master multi-agent orchestration using Claude Code's TeammateTool and Task system.


{
"name": "generate-1-7-figure-with-nano-banana",
"nodes": [
{
"parameters": {
"content": "## Prompt\nCreate a 1/7 scale commercialized figurine of the characters in the picture, in a realistic style, in a real environment. The figurine is placed on a computer desk. The figurine has a round transparent acrylic base, with no text on the base. The content on the computer screen is the Zbrush modeling process of this figurine.Next to the computer screen is a packaging box with rounded corner design and a transparent front window, the figure inside is clearly visible.",
"height": 368,
"width": 304
},
"id": "8579984a-dcb8-449c-aef8-3082e2ae6b46",
@yelban
yelban / animated_connectors.md
Created August 1, 2025 01:16 — forked from wey-gu/animated_connectors.md
How to create diagrams like Alex Xu/bytebytego's great work

Tool: draw.io

Animate the connectors

Animating your connectors is great for demonstrating directional flow charts, electrical circuits and more. To animate your connectors:

  1. Click on the connector you wish to animate. Hold Ctrl or Cmd and click to select multiple connectors
  2. On the right-hand side go to Style > Property and click on the arrow to expand the field
  3. Scroll down to Flow Animation and check the box
@yelban
yelban / script.sh
Created November 10, 2024 06:54
A bash script for recursively finding and replacing text in files while respecting directory exclusions. Specially optimized for macOS with UTF-8 support.
#!/bin/bash
# 遞迴搜尋並取代字串,支援預設排除目錄與預覽模式
# 使用方式: ./script.sh [-p|--preview] "要尋找的字串" "要替換的字串"
# 預設排除的目錄清單
DEFAULT_EXCLUDES=(
"node_modules"
".git"
".next"
"dist"
@yelban
yelban / ss.sh
Created November 10, 2024 06:11
File content search utility: recursive search, default ignores (node_modules/.git/.next), colorized output, line numbers, and match statistics
#!/bin/bash
# 顯示使用說明
usage() {
echo "使用方法: $0 [-d 目錄] [-i] [-e 排除目錄] 搜尋字串"
echo "選項:"
echo " -d 指定搜尋目錄 (預設: 當前目錄)"
echo " -i 忽略大小寫"
echo " -e 額外排除的目錄 (用逗號分隔)"
echo " -a 顯示所有目錄 (不使用預設排除清單)"
<script type="text/javascript">
function getCookie( name ) {
var start = document.cookie.indexOf( name + "=" );
var len = start + name.length + 1;
if ( ( !start ) && ( name != document.cookie.substring( 0, name.length ) ) ) {
return null;
}
if ( start == -1 ) return null;
var end = document.cookie.indexOf( ';', len );
if ( end == -1 ) end = document.cookie.length;
@yelban
yelban / addmysqluser.sh
Created November 10, 2024 05:08 — forked from nateflink/addmysqluser.sh
A bash script that adds a mysql user, and creates a database with the same name as the user and echos the generated password
#!/bin/bash
#By Nate Flink
# Adds a mysql user, and creates a database with the same name as the user and echos the generated password
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ]; then
echo "Usage: ./$0 [mysql db username] [mysql user password] [new identifier] [optional password]"
exit 1
fi
#!/bin/bash
#by Nate Flink
mysqldump -u $2 -p$3 --extended-insert=false -h $4 $1 > $5
MINSIZE=3
ACTSIZE=$(du -k $5 | cut -f 1)
if [ $ACTSIZE -le $MINSIZE ]; then
echo "Error: the database backup is ${ACTSIZE} kilobytes, needs to be at least ${MINSIZE}"
exit 1
#!/bin/bash
#By Nate Flink
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ]; then
echo "Usage: ./$0 [path to files] [find string] [replace string]"
exit 1
fi
DIRPATH=$1
FIND=$2