write-connector
Skill17k starsChanged 2 months agoMITView on GitHub
Add a new built-in OpenWiki source connector. Use when a user asks to create or implement an OpenWiki connector.
- Reads credentials
Trending
Less talk lately.about the whole repository
Who's talking about langchain-ai/openwiki
- A Hacker News story“OpenWiki: CLI that writes and maintains agent documentation for your codebase”Hacker News · Jul 1, 2026 · 96 points
- @midu.dev“¡Acaba de salir OpenWiki! Una herramienta para crear y mantener documentación de proyectos. Y crea …”Bluesky · Jul 4, 2026 · 6 likes
- @pmj.bsky.social“das ökosystem rund um die #KI harness ist schon fantastisch openwiki auch so ein kleines geniales dingens …”Bluesky · Oct 5, 2026 · 1 likes
- penpenguin/portfolio“docs(blog): add article about OpenWiki”GitHub · Aug 11, 2026 · 1 reactions
- @newsycombinatorbot.bsky.social“OpenWiki: CLI that writes and maintains agent documentation for your codebase (github.com) Discussion | …”Bluesky · Jul 5, 2026 · 1 likes
The biggest 5 of 43 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 43
Talked about on GitHub, Bluesky and Hacker News (43 times).
On GitHub · 38
- Aug 11, 2026docs(blog): add article about OpenWiki — penpenguin/portfolio1 reaction
- Jul 2, 2026Add https://github.com/langchain-ai/openwiki — jellydn/my-ai-tools1 reaction
- Nov 2, 2026feat(openwiki): Added — uniget-org/tools0 reactions
- Oct 30, 2026ci(docs): schedule OpenWiki source-grounded documentation PRs (#106) — pkking/ezwallpaper0 reactions
- Oct 30, 2026ci(docs): add scheduled OpenWiki generation and governed documentation PRs — pkking/ezwallpaper0 reactions
33 more on GitHub
- Oct 26, 2026fix: make example CI dependencies visible to Dependabot — jesselpalmer/openwiki0 reactions
- Oct 24, 2026Wiki for agents — commons-app/apps-android-commons0 reactions · 4 comments
- Oct 16, 2026R-200: integrate openwiki for project documentation upkeep — ray-manaloto/dotfiles0 reactions
- Oct 15, 2026addpatch: openwiki 0.7.2-1 — felixonmars/archriscv-packages0 reactions
- Oct 5, 2026feat(97): OpenWiki로 위키를 생성하고 결정 기록을 docs/adr 원본으로 분리 — chucoding/code-recall0 reactions
- Oct 4, 2026chore(dependencies): 🔧 bump the minor-and-patch group across 1 directory with 6 updates — organizzolini/codebase0 reactions
- Oct 4, 2026chore(dependencies): 🔧 bump the minor-and-patch group across 1 directory with 4 updates — organizzolini/codebase0 reactions · 1 comment
- Sep 25, 2026chore(dependencies): 🔧 bump the minor-and-patch group across 1 directory with 4 updates — organizzolini/codebase0 reactions
- Sep 14, 2026OpenWiki:自动生成和维护代码库文档或个人知识库 Wiki — Hibop/Hibop.github.io0 reactions
- Sep 14, 2026chore(dependencies): 🔧 bump the minor-and-patch group across 1 directory with 7 updates — organizzolini/codebase0 reactions · 1 comment
- Sep 14, 2026chore(dependencies): 🔧 bump the minor-and-patch group with 8 updates — organizzolini/codebase0 reactions · 4 comments
- Sep 11, 2026langchain-ai/openwiki — repowiki-cli/repowiki-cli0 reactions
- Aug 31, 2026OpenWiki 도입으로 프로젝트 문서화 자동화 — kakao-tech-campus-3rd-step3/Team18_BE0 reactions · 1 comment
- Aug 24, 2026research(knowledge): evaluate OKF and OpenWiki interoperability — leon0399/llame0 reactions
- Aug 19, 2026incorporate OKF / openwiki — industrial-curiosity/panopticon-ay-eye0 reactions
- Jul 21, 2026[OpenWiki] Plan OpenWiki integration for coding agent repo context — organizzolini/codebase0 reactions · 3 comments
- Jul 20, 2026[docs-knowledge][P0] Freeze documentation authority contract, rollout plan, and OpenWiki ADR — learn-ukrainian/learn-ukrainian.github.io0 reactions · 3 comments
- Jul 20, 2026[EPIC][docs-knowledge] Repository Knowledge System — docs authority, Astro truth, and OpenWiki — learn-ukrainian/learn-ukrainian.github.io0 reactions · 8 comments
- Jul 9, 2026Run OpenWiki on final codebase — elenamedea/48hours-NK-map0 reactions
- Jul 9, 2026OpenWiki — tue-bmd/zea0 reactions · 1 comment
- Jul 7, 2026Add July 7 OpenWiki script — olufemi424/content-viewer0 reactions
- Jul 7, 2026fix: infer openai-compatible provider from credentials in non-interactive runs — rohitvipin-inapp/openwiki0 reactions
- Jul 6, 2026docs: OpenWiki を独立したドキュメント更新フローとして検証する — treflebonbon/dotfiles0 reactions · 5 comments
- Jul 6, 2026[V7 review] OpenWiki: CLI that writes and maintains agent documentation for your codebase — wsysgz/VS_AI0 reactions
- Jul 5, 2026AI Community Trends -- 2026-07-06 — rahmanramsi/daily-digest-ai0 reactions
- Jul 4, 2026Evaluate open wiki — timothyrusso/HolidAI0 reactions
- Jul 3, 2026Install OpenWiki repo documentation agent — Kipnetic/bobblequest0 reactions
- Jul 3, 2026Add a scheduled repo-hygiene workflow (daily /docs PR) — dustinkeeton/wafflestack0 reactions · 1 comment
- Jul 2, 2026docs: add OpenWiki to the companion tools catalog — jellydn/my-ai-tools0 reactions · 1 comment
- Jul 2, 2026📱 AI 日报 · 2026-07-02 — Mystery406/ai-xiaohongshu-daily0 reactions
- Jul 1, 2026📰 데일리 뉴스 & 영감 | 2026-07-02 (Thursday) — wonbrand107-tech/wonbrand0 reactions
- Jul 1, 2026New template: wiki-openwiki-template (OpenWiki + Wiki CLI integration) — wazootech/wiki-templates0 reactions
- Jun 30, 2026Journal Workflow - Week of 2026-07-04 — beijaflor/gen-ai-journal0 reactions · 2 comments
On Bluesky · 4
- Jul 4, 2026¡Acaba de salir OpenWiki! Una herramienta para crear y mantener documentación de proyectos. Y crea automáticamente las PR para mantener… — @midu.dev6 likes and reposts · 1 reply
- Oct 5, 2026das ökosystem rund um die #KI harness ist schon fantastisch openwiki auch so ein kleines geniales dingens damit kann man seinem agenten… — @pmj.bsky.social1 likes and repost · 1 reply
- Jul 5, 2026OpenWiki: CLI that writes and maintains agent documentation for your codebase (github.com) Discussion | Main Link — @newsycombinatorbot.bsky.social1 likes and repost
- Jul 1, 2026OpenWiki: CLI that writes and maintains agent documentation for your codebase Discussion | hackernews | Author: handfuloflight — @news.karthihegde.dev1 likes and repost
On Hacker News · 1
- Jul 1, 2026OpenWiki: CLI that writes and maintains agent documentation for your codebase96 points · 31 comments
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- openwikiSkill
- mermaid-diagramsSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
If the knowledge source already exposes a read-only MCP server (HTTP or stdio), use the built-in custom-mcp connector instead of adding a …
- Very specific: line 15
Put secrets in ~/.openwiki/.env and reference them as ${ENV_NAME} in transport headers/env.
- Distinctive: line 18
Add a dedicated built-in connector only when you need provider-specific auth, scoping UI, or deterministic API pulls that MCP cannot …
- Very specific: line 22
Add the connector to src/connectors/types.ts and src/connectors/registry.ts.
- Distinctive: line 32
Never read, print, log, return, or hardcode secret values.
- Distinctive: line 33
Do not store credentials in connector config, raw files, state, logs, or tests.
- Distinctive: line 35
Use deterministic ingestion code for credentialed external fetching.
- Distinctive: line 36
If wrapping MCP, treat the MCP server as read-only and call only allowlisted read/dump operations from connector config.
- Distinctive: line 37
Do not let untrusted connector manifests instantiate arbitrary commands or arbitrary network endpoints without explicit built-in code …
- Distinctive: line 50
When done, tell the user:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Write An OpenWiki Connector
OpenWiki connectors are built-in TypeScript modules in the OSS repository. Do not create a plugin marketplace, dynamic connector package, or runtime-loaded untrusted connector. Add normal source files and tests.
Prefer Custom MCP For Arbitrary Servers
If the knowledge source already exposes a read-only MCP server (HTTP or stdio), use the built-in custom-mcp connector instead of adding a new ConnectorId:
- Configure
~/.openwiki/connectors/custom-mcp/config.jsonwithenabled,transport, optionalallowedTools, and optionalreadOnlyOperations. - Put secrets in
~/.openwiki/.envand reference them as${ENV_NAME}in transport headers/env. - Agent tools
openwiki_list_mcp_tools/openwiki_call_mcp_toolacceptcustom-mcp.
Add a dedicated built-in connector only when you need provider-specific auth, scoping UI, or deterministic API pulls that MCP cannot express.
Required Shape
- Add the connector to src/connectors/types.ts and src/connectors/registry.ts.
- Implement the connector under src/connectors/sources/
<connector>.ts. - The connector must expose a ConnectorRuntime with id, displayName, description, backend, requiredEnv, supportsAgenticDiscovery, and ingest().
- Ingestion writes raw JSON/manifests under ~/.openwiki/connectors/
<id>/raw/<run-id>/. - State lives in ~/.openwiki/connectors/
<id>/state.json. - Config lives in ~/.openwiki/connectors/
<id>/config.json. - Secrets live in ~/.openwiki/.env and are referenced only by env var name.
Security Rules
- Never read, print, log, return, or hardcode secret values.
- Do not store credentials in connector config, raw files, state, logs, or tests.
- Validate connector IDs and raw file paths so reads and writes stay inside ~/.openwiki/connectors/
<id>/. - Use deterministic ingestion code for credentialed external fetching.
- If wrapping MCP, treat the MCP server as read-only and call only allowlisted read/dump operations from connector config.
- Do not let untrusted connector manifests instantiate arbitrary commands or arbitrary network endpoints without explicit built-in code review.
- For
custom-mcp, users configure a reviewed built-in wrapper; still require allowedTools and/or MCP readOnlyHint before agentic tool calls (no mutating-tool heuristics beyond Notion's hosted endpoint).
Ingestion Rules
- Git/local repos should write compact manifests and let the agent inspect the local repo as the source of truth.
- Sources with timestamps should store per-stream cursors.
- Sources with object metadata should store IDs, last edited timestamps, and content hashes.
- Sources with pagination should store enough state to continue without refetching everything.
- Raw dumps should preserve source IDs, timestamps, URLs, authors, and enough provenance for citations.
User-Facing Finish
When done, tell the user:
- which connector files changed,
- which env vars to set in ~/.openwiki/.env,
- what config file to create or edit,
- how to run openwiki personal --update to trigger ingestion,
- which scopes/permissions the source provider requires.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

