Skip to content
Back to skills

Wiki

ASecurity

Institutional knowledge wiki — cross-agent source of truth for people, projects, events, decisions, and patterns. Use `wiki query` BEFORE grep/workspace-memory when the question is about who / what happened / what we decided / how we do something.

  • 25 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 19, 2026
ai-agentsnodegitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned November 10, 2026

npx -y skills add anis-marrouchi/agentx --skill wiki --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Wiki?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Wiki
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anis-marrouchi-wiki/badge)](https://www.skillsdirectory.com/skills/anis-marrouchi-wiki)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: wiki
version: 3.1.0
description: Institutional knowledge wiki — cross-agent source of truth for people, projects, events, decisions, and patterns. Use `wiki query` BEFORE grep/workspace-memory when the question is about who / what happened / what we decided / how we do something.
argument-hint: "query <question> | status | ingest | absorb | share <article> <agent>"
tags: [wiki, knowledge, institutional, cross-agent, retrieval]
triggers:
  - pattern: "who is|who owns|what happened|what did we decide|history of|institutional|runbook|past incident|previous deploy"
    description: "Questions about persistent cross-agent knowledge"
---

# AgentX Institutional Wiki

You have access to a curated wiki that is **shared across all agents in the team**. It is the canonical source of truth for institutional knowledge. Your own workspace memory and per-project session history are LOCAL to you; the wiki is SHARED.

**When to use the wiki (imperative):**

- "Who is X / who owns Y" → query the wiki
- "What happened on DATE" / "past incident about Z" → query the wiki
- "What did we decide about X" → query the wiki
- "How do we do X" (team procedure, not code-level) → query the wiki
- "History of the Globex deploys" / any "history of" question → query the wiki

**When NOT to use the wiki:**

- Live data (current GitLab MR status, current issue count) → use `gitlab` skill
- Code-level questions ("how does this function work") → read workspace files
- Real-time system status → use `mesh-awareness` or curl the daemon
- Anything you already know from the current conversation

## Facts about outside systems: check it or say it's unverified

A bill, a credit balance, an account (suspended, blocked, expired), an outage or a deploy changes on its own. Before you tell a person one of these, or act on it:

1. Look it up: `agentx wiki facts list`. Each fact shows its source, when it was checked and by whom.
2. If it is fresh, use it. If it is marked `UNVERIFIED` or `STALE`, or you only have it from memory or a conversation summary, check it again at the source (the service's API, CLI or dashboard).
3. Record what you found, with where you checked it:
   `agentx wiki facts set --subject "vendor account" --attribute "billing status" --value "active" --source "GET /v1/user" --checked-at now`
4. If you can't check it, say it is unverified and ask the owner. Never state it as true.

Only pass `--checked-at now` when you really checked the source just now; a value from memory or a summary is not a check. If the wiki holds a more recent value, or one a person confirmed, `set` doesn't overwrite it; it adds a question for a person. Don't retry with `--confirm`: that flag is for a person confirming the value.

## The primary command

```
agentx wiki query "your question"
```

If `agentx` is not on PATH, the exact invocation is provided in the `[Institutional Wiki]` block in your context — copy it verbatim. It's a `node /path/to/cli.js wiki query ...` call.

The command does three things:

1. Reads `_index.md` (the catalog organized by article type: person, project, place, concept, event, decision, pattern).
2. An LLM selector picks the candidate articles most relevant to the question.
3. Walks `related` wikilinks 2–3 hops from the candidates, then synthesizes an answer from the walked subgraph — with citations by article title.

You get back: a synthesized answer + a list of cited articles. Every factual claim is grounded in a wiki article.

## Other commands

| Command | When |
|---|---|
| `agentx wiki status` | How many articles exist per agent; am I running low on institutional knowledge? |
| `agentx wiki ingest` | Export recent conversations as raw wiki entries (cheap, just writes markdown) |
| `agentx wiki share <article> <agent>` | Share a private article you own with another agent |
| `agentx wiki migrate --dry-run` | Backfill `type` + `related` on legacy articles (operator-run, one-shot) |
| `agentx wiki prune --dry-run` | Collapse legacy mode dirs into graph/ (operator-run, one-shot) |
| `agentx wiki absorb [--max N]` | Compile unabsorbed entries into typed articles (Farzapedia-faithful; nightly cron) |
| `agentx wiki notes add --from <you> --change "..." --source "..." --date YYYY-MM-DD` | Tell the wiki observe/sweep run something only you know (a change, a correction, a stale fact). It checks the note before changing anything. No secrets. |
| `agentx wiki notes handle <id> --outcome patched\|rejected\|deferred --reason "..."` | The observe/sweep run records what it did with a note it was given |

## Article types (the organizational spine)

- **person** — an individual human (team member, stakeholder, contact)
- **project** — a named initiative, repo, product, or service (also used for named agents)
- **place** — a physical or logical location (office, server, environment)
- **concept** — a recurring idea, philosophy, methodology
- **event** — a specific dated thing that happened (incident, deploy, launch)
- **decision** — a specific choice made and why (architecture, policy)
- **pattern** — a reusable workflow, template, or recipe

When you read a wiki answer, note the `[type]` tag on each citation — it tells you what kind of knowledge it is.

## Retrieval quality notes

The wiki uses an **agentic walk** of the article graph, not BM25 keyword search. This means:

- It handles questions like "what did we decide about the staging deploy" correctly — those need synthesis across multiple articles.
- It costs ~25 seconds per query (two LLM calls + file reads). Call it when you need it, not speculatively.
- If the wiki has no relevant article, the answer says so plainly. Don't invent.
- If a wiki answer contradicts something you believe, the wiki is usually right — it's the cross-agent authoritative source.

## When you should WRITE a wiki article

Only when the operator explicitly asks you to, OR when a task produces a durable, citable artifact (a runbook, an architectural decision, a person profile).

### Frontmatter (the exact shape — do not invent fields)

```yaml
---
title: "Article Title"
type: person | project | place | concept | event | decision | pattern
related: ["Other Article", "Another Article"]
tags: ["2-4-specific-tags"]
owner: <your-agent-id>
access: public | shared | private
shared_with: ["other-agent"]
created: YYYY-MM-DD
last_updated: YYYY-MM-DD
sources: ["entry-id-1"]
---
```

### Writing standards

- Wikipedia-style: flat, factual, encyclopedic. Not a diary entry.
- Synthesize — don't quote more than ~2 short lines.
- Organize by theme, not chronology.
- Use `[[wikilinks]]` inside the body for every referenced entity; list the same targets in `related` frontmatter.
- 20–100 lines. Articles over 100 lines should split.

## Access levels

| Content | Access |
|---|---|
| Project status, team decisions, procedures | `public` |
| Personal agent learnings, one-off patterns | `private` |
| Cross-team sensitive knowledge | `shared` with specific agents |
| Credentials, tokens, keys | `private` and encrypted — usually don't write at all |

## Gap flagging

If you query the wiki and no article covers the topic, add a one-line note to your final response:

```
Gap: <subject> — no wiki article covers this; <why it matters>
```

The operator decides whether to ask you to write one, or wait for the procedure-delta flow to land.

Files in this skill

  • SKILL.md5.7 KB
  • capture-filter.ts2.6 KB
  • hub.ts3.5 KB
  • index.ts345 B
  • ingest-whatsapp.ts14.9 KB
  • lint-contradictions.ts11.2 KB
  • mesh.ts2.8 KB
  • promote.ts22.7 KB
  • prompts.ts15.4 KB
  • query.ts13.4 KB
  • serve.ts53 KB
  • store.ts37.7 KB
  • types.ts2.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.