Skip to content

Instantly share code, notes, and snippets.

View hqman's full-sized avatar
🏊‍♂️
Focusing

Kai Wang hqman

🏊‍♂️
Focusing
View GitHub Profile
@lark1115
lark1115 / SKILL.md
Created February 24, 2026 06:00
cmux-multi-agent: Envelope-based multi-agent messaging protocol for cmux (Claude Code + Codex CLI)
name cmux-multi-agent
description Coordinate multi-agent workflows across cmux panes (Claude Code + Codex) using envelope-based messaging, HELLO handshake, and ACK/RES discipline over cmux send. Use when two or more agents must delegate work, exchange status, and avoid cross-pane ambiguity.

cmux Multi-Agent Ops

Run this skill when Claude and Codex are active in separate cmux surfaces and need deterministic messaging.

Quick Start

@dabit3
dabit3 / setup.md
Last active March 24, 2026 15:40
How to set up OpenClaw on Digital Ocean

OpenClaw on DigitalOcean

1. Create a Droplet

Ubuntu 24.04 LTS, nearest region

2. Select Premium AMD

2 GB RAM / 1 AMD CPU / 50 GB NVMe

3. SSH into server

@Zamua
Zamua / apply-claude-code-2.0.76-lsp-fix.sh
Last active January 27, 2026 18:02
script to patch claude-code 2.0.76 to fix lsp plugin
#!/bin/bash
#
# Claude Code LSP Fix
# ====================
# Fixes the LSP plugin bug: https://github.com/anthropics/claude-code/issues/13952
#
# THE BUG:
# Claude Code's LSP manager has an empty initialize() function that should
# load and register LSP servers from plugins, but instead does nothing.
# This causes "No LSP server available for file type" errors.
@CypherpunkSamurai
CypherpunkSamurai / spec.md
Last active March 21, 2026 05:36
Kiro AI System Prompt

System Prompt

Identity

You are Kiro, an AI assistant and IDE built to assist developers.

When users ask about Kiro, respond with information about yourself in first person.

You are managed by an autonomous process which takes your output, performs the actions you requested, and is supervised by a human user.

You talk like a human, not like a bot. You reflect the user's input style in your responses.

@sergeyk
sergeyk / claude_code_prompts_and_tools.yaml
Last active March 30, 2026 02:39
Claude Code System Prompt and Tool Descriptions
model: claude-opus-4-20250514
messages:
- role: user
content:
- type: text
text: |
<system-reminder>
As you answer the user's questions, you can use the following context:
# important-instruction-reminders
Do what has been asked; nothing more, nothing less.
@ShaikhZayan
ShaikhZayan / FASTAPI-OAuth2-System-Integration-With-Next.js.md
Last active May 26, 2025 13:38
How You can use FastAPI with OAuth2 for authentication and integrate it with a Next.js frontend to create a login system.

You can use FastAPI with OAuth2 for authentication and integrate it with a Next.js frontend to create a login system. You can manage your backend logic and authentication in FastAPI and handle the frontend logic, including authorization, in Next.js. Here's a high-level overview of how you can achieve this:

1. Set Up FastAPI with OAuth2

First, you'll need to set up FastAPI with OAuth2 for authentication. Here's a basic example:

FastAPI OAuth2 Setup

  1. Install the necessary dependencies:
@padeoe
padeoe / README_hfd.md
Last active April 1, 2026 02:07
CLI-Tool for download Huggingface models and datasets with aria2/wget: hfd

🤗Huggingface Model Downloader

Note

(2025-01-08) Add feature for 🏷️Tag(Revision) Selection, contributed by @Bamboo-D.
(2024-12-17) Add feature for ⚡Quick Startup and ⏭️Fast Resume, enabling skipping of downloaded files, while removing the git clone dependency to accelerate file list retrieval.

Considering the lack of multi-threaded download support in the official huggingface-cli, and the inadequate error handling in hf_transfer, This command-line tool leverages curl and aria2c for fast and robust downloading of models and datasets.

Features

  • ⏯️ Resume from breakpoint: You can re-run it or Ctrl+C anytime.
import os
import pytest
from alembic.command import upgrade
from alembic.config import Config
from project.factory import create_app
from project.database import db as _db
@pmarquees
pmarquees / editPage.js
Last active October 7, 2024 23:59
Edit page (bookmarklet)
javascript:document.body.contentEditable = 'true'; document.designMode='on'; void 0
@Integ
Integ / unwxapkg.py
Last active March 25, 2026 02:01 — forked from feix/unwxapkg.py
A useful tool for unpack wxapkg file with python3 surport.
# coding: utf-8
# py2 origin author lrdcq
# usage python3 unwxapkg.py filename
__author__ = 'Integ: https://github.com./integ'
import sys, os
import struct
class WxapkgFile(object):