Skip to content

Instantly share code, notes, and snippets.

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

Kai Wang hqman

🏊‍♂️
Focusing
View GitHub Profile
@hqman
hqman / gist:c47af092da4e3d6bf606954a52dcd5bd
Created December 21, 2025 04:29 — forked from mewmewwow/gist:e3aff0df2a292a853a4b936f0b0c4b47
zarazhang # 2025年12月21日 10:45 90%逐字稿
# 2025年12月21日 10:45
适配pwa
Gumroad
drafts 笔记工具 记录灵感 promote ideas
多看别人的作品
关注ai 模型账号 和 开发负责人 developer relationship
然后还有,呃,他们也会定期地去问大家都在用他们的工具做什么产品,包括比如说 Gemini 出来之后,这样,这个 Gemini 官方账号每天都会就去 feature 一些开发者的一些有趣的项目,所以你可以去上面看其他人都在做什么。然后我就是这样,我才知道,比如说我做的一些项目是,呃。利用了电脑的摄像头来做一些事,比如说用它来录视频,或者是用它来用手势控制屏幕啊什么的,就这些东西,我是看了别人这么做我才知道,哦,原来它那个还能跟那个电脑摄像头连起来,就如果我没有看到别人这么做,我也不知道。吗?就是啊,你是用了那个 Touch Designer 吗?就是啊,那个是 MediaPipeMediaPipeMediaPipe 就是它可以用那个手直接控制,或者它就是它让你的 camera 可以识别你的这个手势啊等等。对对,然后这里面就是一个叫,一个是你说的那个 MediaPipe,另外一个叫 Touch Designer,就是手势声音可以控制。就这两个也推荐,如果想做类似的东西的也也推荐给大家,就是这两个呃。这两个 Framework 可以去用,就是有好几个 Framework 我觉得是文科生也应该知道的,这个就我有一个规规划,写一篇笔记之后就是就叫,就叫文科生应该了解的 API 和开源项目。就是因,因为我觉得很多时候你只要知道有这些 API 的存在,你只要让模型去调它就行了,你不需要从零去写这些东西,它很多时候就像搭乐高积木一样,别人已经把这些搭好了,你就不用重新造轮子了。对,比如说。嗯,MediaPipe 是一个能让你通过手势控制啊,就是计算机视觉的一个 library,它可以让你的电脑的这个摄像头直接识别你的器官啊、手势什么的。然后再比如说,呃。嗯,su-super data 就是我之前做那个看 YouTube 视频网站会用到的一个 API,它能直接去抓取所有 YouTube 视频的逐字稿。呃,然后再比如说,呃,像那个,比如说你想做一些地图相关的,你可以用 Google Maps 的 API 等等,反正这些很多工具它都是有 API 可以直接用的,就是你。你的工作很多时候就是把这些东西连起来,就
@hqman
hqman / config.json
Created December 13, 2025 11:26 — forked from ben-vargas/config.json
Factory Droid CLI Config with CLIProxyAPI [ChatGPT Pro/Plus - Claude Pro/Max - Gemini AI Pro/Ultra]
{
"custom_models": [
{
"model_display_name": "Claude Opus 4.5 Thinking Low [Proxy]",
"model": "claude-opus-4-5-20251101(low)",
"base_url": "http://localhost:8317",
"api_key": "dummy-not-used",
"provider": "anthropic"
},
{

nof1.ai Alpha Arena 提示词工程逆向分析

逆向工程说明: 本文档基于 nof1.ai Alpha Arena 的公开文档、交易行为模式、API 响应格式和社区讨论,系统性地逆向推导出其 System Prompt 和 User Prompt 的完整结构,欢迎各路大佬戳戳评论,一起来进行这个有趣的实验。

GitHub - nof0 Follow @wquguru

目录

@hqman
hqman / claude_code_prompts_and_tools.yaml
Created September 11, 2025 13:29 — forked from sergeyk/claude_code_prompts_and_tools.yaml
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.
@hqman
hqman / spec.md
Created July 24, 2025 03:12 — forked from CypherpunkSamurai/spec.md
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.

@hqman
hqman / claude-code-tools.md
Created June 14, 2025 02:23 — forked from wong2/claude-code-tools.md
Tools and system prompt of Claude Code

Task

Launch a new agent that has access to the following tools: Bash, Glob, Grep, LS, exit_plan_mode, Read, Edit, MultiEdit, Write, NotebookRead, NotebookEdit, WebFetch, TodoRead, TodoWrite, WebSearch. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries, use the Agent tool to perform the search for you.

When to use the Agent tool:

  • If you are searching for a keyword like "config" or "logger", or for questions like "which file does X?", the Agent tool is strongly recommended

When NOT to use the Agent tool:

  • If you want to read a specific file path, use the Read or Glob tool instead of the Agent tool, to find the match more quickly
  • If you are searching for a specific class definition like "class Foo", use the Glob tool instead, to find the match more quickly
  • If you are searching for code within a specific file or set of 2-3 files, use the Read tool instead of the Agent tool, to find the match more quickly
<context>
# Overview
[Provide a high-level overview of your product here. Explain what problem it solves, who it's for, and why it's valuable.]
# Core Features
[List and describe the main features of your product. For each feature, include:
- What it does
- Why it's important
- How it works at a high level]
@hqman
hqman / example_prd.txt
Created April 4, 2025 10:16 — forked from hellokaton/example_prd.txt
示例 PRD 文件及提问方式
<context>
# Overview
[Provide a high-level overview of your product here. Explain what problem it solves, who it's for, and why it's valuable.]
# Core Features
[List and describe the main features of your product. For each feature, include:
- What it does
- Why it's important
- How it works at a high level]
@hqman
hqman / capabilities.txt
Created March 9, 2025 22:41 — forked from jlia0/agent loop
Manus tools and prompts
# Manus AI Assistant Capabilities
## Overview
I am an AI assistant designed to help users with a wide range of tasks using various tools and capabilities. This document provides a more detailed overview of what I can do while respecting proprietary information boundaries.
## General Capabilities
### Information Processing
- Answering questions on diverse topics using available information
- Conducting research through web searches and data analysis
@hqman
hqman / deepseek_search.py
Last active February 17, 2025 03:08
deepseek_search.py
from duckduckgo_search import DDGS
from typing import List, Dict
import openai
from typing import Optional
from datetime import datetime
client = openai.OpenAI(
api_key="sk-xxxxx",
base_url="https://api.lkeap.cloud.tencent.com/v1",
)