本文檔旨在讓你幾乎不需要查看 Source Code,就能完全理解 OpenClaw 這個開源 AI Agent 系統。
Discover gists
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ============================================ | |
| # Minimal zsh Configuration | |
| # ============================================ | |
| # --- Basic zsh settings --- | |
| setopt AUTO_CD # Type directory name to cd into it | |
| setopt HIST_IGNORE_DUPS # Don't save duplicate commands in history | |
| setopt SHARE_HISTORY # Share history across all terminals | |
| HISTFILE=~/.zsh_history | |
| HISTSIZE=10000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "meta": { | |
| "lastTouchedVersion": "2026.1.30", | |
| "lastTouchedAt": "2026-02-01T16:48:36.938Z" | |
| }, | |
| "wizard": { | |
| "lastRunAt": "2026-02-01T16:48:36.935Z", | |
| "lastRunVersion": "2026.1.30", | |
| "lastRunCommand": "onboard", | |
| "lastRunMode": "local" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import base64 | |
| from cryptography.hazmat.primitives import serialization | |
| from cryptography.hazmat.primitives.asymmetric import ec | |
| private_key = ec.generate_private_key(ec.SECP256R1()) | |
| private_bytes = private_key.private_bytes( | |
| encoding=serialization.Encoding.DER, | |
| format=serialization.PrivateFormat.TraditionalOpenSSL, | |
| encryption_algorithm=serialization.NoEncryption() |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
This is an OPML version of the HN Popularity Contest results for 2025, for importing into RSS feed readers.
Plug: if you want to find content related to your interests from thousands of obscure blogs and noisy sources like HN Newest, check out Scour. It's a free, personalized content feed I work on where you define your interests in your own words and it ranks content based on how closely related it is to those topics.
This sanitized config shows the key settings referenced in the OpenClaw guide.
- Copy
config-example.jsonto~/.openclaw/openclaw.json - Replace all
YOUR_*placeholders with real values - Run
openclaw doctor --fixto validate - Run
openclaw security audit --deepto check for issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Global variables for cleanup | |
| MOUNT_POINTS=() | |
| TEMP_DIRS=() | |
| INSTALLED=() | |
| FAILED=() | |
| # Verbose flag (default is quiet). Use `--verbose` or `-v` to enable. | |
| VERBOSE=0 |
NewerOlder