Skip to content

Instantly share code, notes, and snippets.

View kuitos's full-sized avatar
🎯
Focusing

Kuitos kuitos

🎯
Focusing
View GitHub Profile
@kuitos
kuitos / llm-wiki.md
Created April 8, 2026 13:42 — forked from karpathy/llm-wiki.md
llm-wiki

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.

@kuitos
kuitos / claude-code-vs-oh-my-opencode.md
Created March 16, 2026 15:59
Claude Code vs Oh-My-OpenCode:单Agent轻约束 vs 多Agent重编排的架构对比

Claude Code vs Oh-My-OpenCode:Agent 编排架构对比

基于社区逆向的 Claude Code 系统提示词,与 oh-my-opencode 源码的对比分析

架构差异

维度 Claude Code Oh-My-OpenCode
架构 单 agent + 轻量 subagent 10 agent 多层编排
规划 用户手动 /plan 或 agent 自行规划 Prometheus 采访 → Metis 预分析 → Momus 审查,完整流水线
@kuitos
kuitos / oh-my-opencode-agent-system-analysis.md
Created March 16, 2026 11:24
Oh-My-OpenCode 内置 Agent 系统深度分析:10个Agent的提示词设计与协作机制

Oh-My-OpenCode 内置 Agent 系统深度分析

一、Agent 总览

该项目实现了一个多层级的 Agent Team 架构,共有 10 个内置 Agent,分为四层协作:

层级 Agent 角色 成本 权限
编排层 Sisyphus 主编排器,意图识别 + 路由 + 委托 EXPENSIVE 读写
Hephaestus 自主深度工作者,不问问题埋头干 EXPENSIVE 读写
@kuitos
kuitos / logo.png
Last active May 30, 2018 03:56
mobx-vue logo
We couldn’t find that file to show.
@kuitos
kuitos / index.html
Created September 18, 2017 05:08
all fb monster repos
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>github</title>
</head>
<body>
<script src="https://unpkg.com/lodash@4.17.4/lodash.js"></script>
<script type="module">
@kuitos
kuitos / what-forces-layout.md
Created December 8, 2016 10:37 — forked from paulirish/what-forces-layout.md
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.

Element

Box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent
  • elem.clientLeft, elem.clientTop, elem.clientWidth, elem.clientHeight
  • elem.getClientRects(), elem.getBoundingClientRect()
@kuitos
kuitos / range-slider.html
Last active September 25, 2017 22:00
range slider base on angular-material slider
<!--
Created by Kuitos on 2015/03/06 10:15 AM.
Email: kuitos.lau@gmail.com
author: EdwardCTaylor
author: Kuitos
Licence: MIT
-->
<!DOCTYPE html>
<html>
<head>
<div>
<a href="{{protocol}}//{{host}}{{pathname}}">{{protocol}}//{{host}}{{pathname}}</a>
</div>
<script>
function Template(node) {
var prototype = document.createDocumentFragment();
prototype.appendChild(node);