goclaw resolves config first-match-wins while skills load last-wins, and its macOS release link points at a home directory
An open-source AI assistant framework like openclaw
At a glance
- What is it?
- smallnest/goclaw is a Go implementation of an OpenClaw-style agent framework with thirteen chat channels, a prompt-injected skills system and a Tauri desktop shell. Its two resolution rules disagree with each other, and its remote dashboard hands the token out in the URL.
- Who is it for?
- Use the global config path or pass --config deliberately, because a project-level config.json is ignored the moment a global one exists, and launch the binary from a directory you trust, since a skills folder in the working directory silently wins. Before exposing the gateway beyond your machine, set enable_auth and an auth_token, and remember the documented way to send that token puts it in a query string.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Activity is slowing. The repository last received commits 8 months ago.
- What is it written in?
- Mainly Go, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- smallnest/goclaw601 ★ · -1
| Repository | 2026-09-11 | 2026-11-25 |
|---|---|---|
| smallnest/goclaw | 602 | 601 |
-1 Stars in the last 75 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Configuration stops at the first file found, so a project config loses silently
The config file is looked up in a fixed order and the search ends at the first hit: `~/.goclaw/config.json` in the user directory has the highest priority, then `./config.json` in the current directory, then environment variables carrying a `GOSKILLS_*` prefix. There is no merge step, so once the global file exists, a project-local config.json is not read at all and nothing reports the omission. A `--config` argument overrides the whole search, and both YAML and JSON are accepted. That same three-step list is printed twice in the documentation, once inside the skills section and once under configuration, in identical wording, which suggests the two sections were written separately from the same intent. The `GOSKILLS_*` prefix is also the only environment convention the file names, and it is a skills-flavoured name governing the general config, including the model and channel settings that have nothing to do with skills.
Skills resolve the opposite way, and the working directory wins
Where configuration takes the first match, skills take the last, and the two rules sit side by side in the same document. Three directories are scanned: `~/.goclaw/skills/` with the lowest priority, then `${WORKSPACE}/skills/`, then `./skills/` in the current directory, which loads last and has the highest priority. A skill whose name repeats in a later directory replaces the earlier one, and `WORKSPACE` defaults to `~/.goclaw/workspace`. Since the winning directory is the one you happen to be standing in, running the binary from a checkout that carries its own skills folder silently substitutes that folder's instructions for your global ones. What a skill is, matters here: it is a markdown file named SKILL.md whose body is injected into the system prompt as instructions telling the model which existing tools to use, so overriding one changes agent behaviour rather than only adding a command. Gating narrows that risk a little, since a skill declares required binaries and is skipped when they are missing.
Three different token limits describe the same default model
The sample config names `qianfan/kimi-k2.5` as the primary model and puts three numbers around it that do not agree. The agent defaults cap output at 4096 tokens, the model entry for kimi-k2.5 declares maxTokens 8192, and that same entry declares a contextWindow of 131072. So the per-call budget the agent actually uses is a sixteenth of the window the provider is credited with and half of what the model entry itself allows, with no note saying which of the two is the intended ceiling. The provider block is otherwise explicit: a Qianfan base URL, an API style of openai-completions, and an apiKey written as `${QIANFAN_API_KEY}`, so secrets are interpolated from the environment rather than stored. One more inconsistency sits beside it. The models section is set to merge mode, which is the one place the file combines two sources instead of picking one.
Remote dashboard access puts the token in the URL
The gateway is started with `./goclaw gateway run` and serves a dashboard on port 28789. The loopback URL is plain, but the remote form is documented as `http://your-host:28789/dashboard/?token=YOUR_TOKEN`, so the credential travels as a query parameter rather than in a header or a cookie, which is where proxies log it and where browsers keep it in history. The security note attached to the same section is the honest part: if the listener is bound to anything other than 127.0.0.1 or localhost, you are expected to add `enable_auth` set to true and an `auth_token` under the websocket gateway settings, with host 0.0.0.0 in the example. Nothing enables that for you. The safe default is a loopback bind with no token at all, and remote reachability is something you switch on by editing configuration and then have to pass the secret the documented way.
The container health-checks port 8080, a port the documentation never names
The image builds with a Go 1.25 alpine toolchain and a static binary:
FROM golang:1.25-alpine AS builder
RUN apk add --no-cache git ca-certificates
COPY go.mod go.sum ./
RUN go mod download
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o goclaw .The runtime stage then exposes 8080 and watches a health endpoint there, creating a workspace and sessions directory under a user with uid 1000 and installing timezone data. The port mismatch is the interesting part. Every port in the documentation is 28789, for the websocket gateway and the dashboard alike, and 8080 appears nowhere in it. The container therefore probes a path and a port that the docs never describe, and nothing in the image maps 28789, so a deployment that trusts the health check is checking something the project never documented. Two smaller consequences of the same file: the build target hardcodes GOOS=linux, so the image is always a Linux artifact whatever the host is, and the timezone package suggests that some features are date sensitive.
The documented tree covers two directories out of the twenty-four at the top
The project structure block shows an agent directory with a loop, a context builder, a memory system, a skills loader, a subagent manager and five tools for filesystem, shell, web, browser and message, then a channels directory with an interface, a manager and two implementations, telegram and whatsapp. The feature list above it names thirteen channels, so the tree documents two of them, and the block itself stops mid-list without closing the channels directory. Everything else that matters is missing from it: the top level of the repository also carries bus, cli, config, cron, docker, docs, errors, gateway, internal, memory, pairing, providers, session, ui and src-tauri alongside agent and channels, plus two signal files split for Windows. The same gap shows up in file names. The configuration section tells you to copy `internal/config.example.json`, while the top level actually holds a file called `config.json.example`.
The macOS release guide is linked as a path on one person's machine
The desktop build is a Tauri shell rather than a native interface: it launches a sidecar running `goclaw start`, waits for 127.0.0.1:28789 to answer, opens the dashboard in the same window, and falls back to a local startup page with buttons to restart the backend and open the configuration file. That design means three toolchains to build it, Go for the sidecar, Node for the dashboard bundle and Rust for the Tauri crate, and the documented check sequence runs them one after another. The release side is more organised: the Makefile carries release, notarize, staple and verify targets for macOS plus the signing identity and Apple ID variables they read. Then the link to the release guide points at `/Users/chaoyuepan/ai/goclaw/docs/release-macos.md`, an absolute path on somebody's own machine. Every reader but that person gets a dead link, in the one section that would explain how the desktop artifact is signed and shipped.
The module file pins a Go patch version and one dependency by commit
The module header is short and exacting:
module github.com/smallnest/goclaw
go 1.25.5A patch-level toolchain line means the build expects that exact release, or a newer one, with toolchain switching handling the difference, which is stricter than the major-version line most modules carry. The requirement list is dominated by one client library per channel, so thirteen channels means thirteen SDKs to keep current, and two of them are pre-1.0 lines: discordgo is at 0.29.0 and the Docker client is pinned with an incompatible marker. One dependency belongs to the same author, infoflow, held at a pseudo-version built from a commit rather than a tag. The quick start also asks you to run `go mod tidy` before compiling, so the documented install rewrites the module files, and the default Makefile target runs clean, fmt, lint, test and build in that order, so a bare make deletes prior output and rewrites your formatting before it builds.
Editorial conclusion
Use the global config path or pass --config deliberately, because a project-level config.json is ignored the moment a global one exists, and launch the binary from a directory you trust, since a skills folder in the working directory silently wins. Before exposing the gateway beyond your machine, set enable_auth and an auth_token, and remember the documented way to send that token puts it in a query string. For a build from source, expect Go at the patch level the module file names, plus Node and Rust if you want the desktop shell.
Frequently asked questions
is goclaw legit
It is an MIT-licensed Go implementation of an OpenClaw-style AI agent framework, module path github.com/smallnest/goclaw, with tags up to v0.4.0 published 2026-03-20 and a last push to the default branch dated 2026-03-27. The documentation is written in Chinese and covers thirteen chat channels, a skills system and a Tauri desktop shell.
is goclaw the same as openclaw
No, it is the Go version of OpenClaw rather than the same codebase, and its skills layer is designed to be compatible: you can copy skills from the openclaw/skills directory and goclaw will load them, with gating on required binaries applied on top.
How does goclaw decide which skills to load?
Three directories are scanned in order, `~/.goclaw/skills/`, `${WORKSPACE}/skills/` and `./skills/` in the current directory, and a skill with the same name in a later directory replaces an earlier one. `WORKSPACE` defaults to `~/.goclaw/workspace`, and `./skills/` loads last with the highest priority.
How do I reach the goclaw dashboard from another machine?
Start it with `./goclaw gateway run` and open `http://your-host:28789/dashboard/?token=YOUR_TOKEN`. When the listener is bound to an address other than 127.0.0.1 or localhost, the configuration is expected to set `enable_auth` to true and an `auth_token` under the websocket gateway settings.
Which Go version does goclaw need to build?
The module file declares go 1.25.5, a patch-level pin, and the container builds against golang:1.25-alpine. The quick start runs `go mod tidy` before compiling, which rewrites the module files rather than only reading them.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/smallnest-goclaw)Star history chart for your README
[](https://hysenlabs.com/projects/smallnest-goclaw)Was this useful?