Generated on 2026-03-18 from vercel-labs/skills
| # | Agent | Stars | GitHub Repo |
|---|---|---|---|
| 1 | OpenClaw | 322,200 | openclaw/openclaw |
| 2 | OpenCode | 124,560 | anomalyco/opencode |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Agent Star History</title> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js@4"></script> | |
| <style> | |
| * { box-sizing: border-box; margin: 0; padding: 0; } | |
| body { font-family: system-ui, sans-serif; background: #0f1117; color: #e0e0e0; padding: 24px; } |
Generated on 2026-03-18 from vercel-labs/skills
| # | Agent | Stars | GitHub Repo |
|---|---|---|---|
| 1 | OpenClaw | 322,200 | openclaw/openclaw |
| 2 | OpenCode | 124,560 | anomalyco/opencode |
English is not my first language. I wrote this in Chinese and translated it with AI help. The writing may have some AI flavor, but the design decisions, the production failures, and the thinking that distilled them into principles — those are mine.
I was a backend lead at Manus before the Meta acquisition. I've spent the last 2 years building AI agents — first at Manus, then on my own open-source agent runtime (Pinix) and agent (agent-clip). Along the way I came to a conclusion that surprised me:
A single run(command="...") tool with Unix-style commands outperforms a catalog of typed function calls.
Here's what I learned.
| #!/usr/bin/env zsh | |
| # Script to find and restore files/directories from git history | |
| # Usage: ./restore-file-from-history.sh [OPTIONS] <pattern> | |
| # Supports partial filenames and directories | |
| # | |
| # Options: | |
| # -a, --all Automatically select all matches | |
| # -y, --yes Automatically confirm restoration | |
| # -h, --help Show this help message |
PatchworkOS strictly follows the "everything is a file" philosophy in a way inspired by Plan9, this can often result in unorthodox APIs that seem overcomplicated at first, but the goal is to provide a simple, consistent and most importantly composable interface for all kernel subsystems, more on this later.
Included below are some examples to familiarize yourself with the concept. We, of course, cannot cover everything, so the concepts presented here are the ones believed to provide the greatest insight into the philosophy.
The first example is sockets, specifically how to create and use local seqpacket sockets.
To create a local seqpacket socket, you open the /net/local/seqpacket file. This is equivalent to calling socket(AF_LOCAL, SOCK_SEQPACKET, 0) in POSIX systems. The opened file can be read to return the "ID" of the newly created socket which is a string that uniquely identifies the socket, more on this later.
| #!/usr/bin/env bun | |
| import { promises as fs } from 'node:fs'; | |
| import path from 'node:path'; | |
| import process from 'node:process'; | |
| const chromeExtensionIds = [ | |
| 'bpgaffohfacaamplbbojgbiicfgedmoi', 'cdgonefipacceedbkflolomdegncceid', | |
| 'cihbmmokhmieaidfgamioabhhkggnehm', 'eagiakjmjnblliacokhcalebgnhellfi', | |
| 'eaokmbopbenbmgegkmoiogmpejlaikea', 'gipnpcencdgljnaecpekokmpgnhgpela', | |
| 'gnhgdhlkojnlgljamagoigaabdmfhfeg', 'hlcjkaoneihodfmonjnlnnfpdcopgfjk', |
List of projects that are somewhat related to opencode.
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| shopt -s nullglob | |
| # opencode-model-check.sh - Check currently used model in OpenCode logs | |
| # | |
| # Requirements: | |
| # REQUIRED: | |
| # - jq: JSON processor (https://jqlang.github.io/jq/) | |
| # - grep: Text search utility (standard on all Unix systems) |
This document provides a comprehensive overview of all available configuration options for OpenCode, including command-line flags, environment variables, and configuration file settings.
| description |
|---|
Stage and commit changes with conventional commit message |
You are tasked with staging and committing changes in a repository using conventional commit message format.
First, detect the version control system:
!if [ -d ".git" ]; then echo "git"; elif [ -d ".jj" ]; then echo "jujutsu"; else echo "none"; fi
If git is detected: