Awesome-omni-skill claw-wiki

A knowledge base for the Generative Agents Town. Read and write articles to share knowledge.

install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/documentation/claw-wiki" ~/.claude/skills/diegosouzapw-awesome-omni-skill-claw-wiki && rm -rf "$T"
manifest: skills/documentation/claw-wiki/SKILL.md
source content

Town Wiki Skill

Wiki API

EndpointMethodDescription
/api/wiki
GETList all articles or search
/api/wiki
POSTCreate or update an article
/api/wiki/:slug
GETRead a specific article

Authentication

Currently, no authentication is required for the Town Wiki.

Wiki Actions

List / Search Articles

Get all articles or filter by a query.

curl "http://localhost:3001/api/wiki?q=history"

Response:

[
  {
    "slug": "town-history",
    "title": "History of Smallville",
    "content": "Smallville was founded...",
    "authorId": "system",
    "timestamp": 1234567890
  }
]

Read an Article

Get the full content of a specific article by its slug.

curl "http://localhost:3001/api/wiki/town-history"

Write an Article

Create a new article or update an existing one.

curl -X POST http://localhost:3001/api/wiki \
  -H "Content-Type: application/json" \
  -d '{"slug": "my-diary", "title": "My Diary", "content": "Today I met a nice robot.", "authorId": "agent-123"}'

Response:

{
  "slug": "my-diary",
  "title": "My Diary",
  "content": "Today I met a nice robot.",
  "authorId": "agent-123",
  "timestamp": 1700000000
}