Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Prompt engineering is where people go when they refuse to write files Karpathy's LLM Wiki gist is painfully simple: > raw sources stay untouched > the agent writes the wiki > `CLAUDE.md` or `AGENTS.md` tells it the rules > `index.md` maps the pages > `log.md` records what changed That...

14,041 görüntüleme • 4 ay önce •via X (Twitter)

0 Yorum

Yorum bulunmuyor

Orijinal gönderinin yorumları burada görünecek

Benzer Videolar

HERMES AGENT SHIPS WITH A BUNDLED SKILL FOR ANDREJ KARPATHY'S LLM WIKI PATTERN. A SELF-IMPROVING KNOWLEDGE BASE THAT GROWS EVERY TIME YOU FEED IT. mentioned this briefly in the overnight workflow article. here is the full breakdown. what it is: a self-improving knowledge base built as interlinked markdown files. unlike RAG (which rediscovers knowledge from scratch every query), the wiki compiles knowledge once and keeps it current. cross-references stay linked. contradictions get flagged automatically. synthesis reflects everything ingested so far. why this matters for Hermes memory: Hermes built-in memory knows YOU. it remembers your conversations, your preferences, your business context across sessions. but it doesn't know your inbox. or your meeting transcripts. or that article you saved last week. or the expert framework you want it to learn. the LLM Wiki solves that. THE DIVISION OF LABOR human curates sources and directs analysis. agent summarizes, cross-references, files, and maintains consistency. you drop in articles, transcripts, notes. Hermes indexes them, links related concepts, flags contradictions, updates affected pages. your knowledge base grows itself. SETUP IS ONE COMMAND the skill ships with Hermes. enable it. set WIKI_PATH in ~/.hermes/.env: WIKI_PATH=/Users/you/wiki defaults to ~/wiki if unset. then drop anything into it: "index this article into my wiki: [paste URL or text]" Hermes reads it, builds a source page, updates related entries, flags contradictions. THE OBSIDIAN ANGLE set OBSIDIAN_VAULT_PATH to the same directory. now your wiki is visible in Obsidian's graph view. nodes, links, backlinks. all built by Hermes. for headless servers: install obsidian-headless. syncs vaults without a GUI. agent writes from the server, you read on your laptop. THE COMPOUND EFFECT Hermes knows you. the wiki knows your world. combine them and the agent answers questions using BOTH contexts at once. month 1: you explain things twice. month 3: the agent references the wiki on its own. answers get sharper because the knowledge base got sharper. AUTOMATIONS THAT FEED THE WIKI set cron jobs to ingest automatically: "every day at 9am, check Granola for new meetings. add any new transcripts to my wiki under meeting notes." "every morning, scan my Gmail starred items. add anything worth keeping to the wiki." "every week, check arXiv for new papers in [your niche]. summarize and file." your wiki grows while you sleep. Hermes never forgets what gets indexed. THE LIMITATION TO KNOW unlike Hermes memory (which is conversational and lives across sessions), the wiki is a separate knowledge layer. Hermes won't pull from the wiki automatically unless you reference it or save it as a skill. best setup: build an LLM Wiki personality that tells Hermes to consult the wiki when answering strategy questions or domain-specific queries. full HERMES AGENT OVERNIGHT WORKFLOW👇

YanXbt

30,804 görüntüleme • 3 ay önce

Introducing Wikiwise: an open-source Mac app for managing your own Karpathy-style LLM wiki. Set up a new wiki in a few clicks: all you need is Wikiwise + your agent. It's infinitely customizable, just markdown/html under the hood, and one click to share your wiki publicly. Here's how it works: * Install Wikiwise for mac (it's built in Swift so super minimal and performant). In Karpathy's framework, Wikiwise is your IDE. * Start a new Wiki: it generates a new folder on your machine that's scaffolded in the wiki structure Andrej Karpathy describes (index.md, raw folder, wiki folder, CLAUDE.md/AGENTS.md, although it tries to be as un-opinionated as possible). * Then just point your agent (Codex, Claude Code, Cursor, etc) at the folder and tell it what to import -- files on your machine, connect to your Readwise account, or urls from the web. * Your agent creates wthe wiki for you: Your agent will know how to ingest your raw sources (via the AGENTS.md) and will immediately start writing+linking wiki pages for you. * Go crazy on customization! The rendered wiki pages live as static html/css in your folder too so just tell your agent to change stuff, and if you need any more customization Wikiwise is fully open source :) * Ask questions about your research with your agent, ask it to bring in new sources, write new documents, etc. * (optionally) Hit the Publish button to share your wiki with friends/colleagues at a custom URL === I tried to walk the line on a couple constraints with Wikiwise: 1. I wanted it to be easy to spin up new wikis, especially without chaining together a bunch of different apps. It takes me a few minutes to spin up a new wiki on a topic -- I already have five! 2. Infinitely Customizable: one great aspect of building a wiki as Karpathy described is that you can modify any aspect of your wiki with your agent. Every new wiki styling+structure is self-contained in the local folder, which allows you to preserve this. Wikiwise is just an IDE that makes the setup easier and includes a nice un-opinionated starting state. 3. Minimal: Wikiwise is built mostly in Swift, and the DMG you install to download it is only 2.6MB (!) 4. Easy Publishing: my colleague Eleanor Konik has been building her own LLM wikis for months, but has always really struggled to actually share them with her book club. There are tools to do it, but figuring out hosting is always a huge headache. This seemed like an ideal usecase for a tool like Wikiwise to solve. The process of building wikiwise was also pretty interesting -- I "bootstrapped" the app in a way by first building my own wiki based on Karpathy's tweet and other notes I had, and slowly formed the shape of the project in collaboration with my LLM. This was all done in 3 days over the latest Readwise company hackathon we had. Truly an incredible time to be alive. Anyways, curious what you think! Links in next tweet.

Tristan

96,743 görüntüleme • 5 ay önce

i'm leaking my entire coding agent setup... 20 billion tokens and 12,000 sessions later, i got sick of explaining the same project every time i switched tools. so i built them a shared brain steal the prompt [start prompt] Set up Agentic Stack as my local second brain and LLM-maintained wiki, shared across the supported coding tools I have installed. Carry this through installation, connection, source selection, wiki creation, and real cross-tool verification. Use the structure below as a proposed design, adapting it to the capabilities you actually verify. 1. Research the supported setup Read these primary sources before making changes: Check the current documentation against the installed version. Clearly distinguish Agentic Stack’s existing features from additional wiki workflows you create. Do not invent commands, APIs, integrations, export formats, or automatic synchronization behavior. 2. Inspect my environment and preserve existing work Identify: Installed supported coding tools and their versions. Existing Agentic Stack installation and configuration. Relevant projects and available conversation history. Existing skills, rules, memory files, and MCP connections. A suitable location for the shared wiki. Before editing configurations, record the intended changes and create recoverable backups. Preserve unrelated settings, customized instructions, credentials, source conversations, and existing projects. Keep backups private and outside version control. Never print secrets or copy provider credentials between tools. 3. Install and connect Agentic Stack Use the documented installation method for my platform. Connect the supported tools I have installed through the appropriate documented mechanisms. Preserve existing MCP entries and tool-specific settings. Restart or reload tools where required. Verify each connection through an actual tool invocation. Distinguish these states: Detected. Configured. Requires restart or authentication. Retrieval verified. Blocked or unsupported. Do not claim a connection works merely because an installer completed or a toggle is enabled. 4. Help me select the first sources Inventory candidate sources without importing everything automatically. Recommend a bounded first import from one active project, prioritizing: Conversations containing meaningful decisions. Architecture explanations and project documentation. Verified debugging lessons. Repeatable workflows. Explicit preferences and conventions. Relevant skills and rules. Show me the proposed sources and ask me to select what to include before importing private content. Record the approved scope so you can reuse that authorization for subsequent refreshes. Exclude credentials, hidden reasoning, unrelated personal information, dependency folders, generated files, and unnecessary tool output. 5. Create a portable wiki directory Create a separate SecondBrain/ directory at a suitable location. Keep it outside application bundles and native conversation stores. Use this structure, creating content folders only when needed: SecondBrain/ ├── README.md ├── AGENTS.md ├── config/ │ ├── sources.yaml │ ├── projects.yaml │ ├── routing.yaml │ ├── policy.md │ └── integrations.md ├── inbox/ ├── raw/ │ ├── conversations/ │ ├── documents/ │ └── web/ ├── catalog/ │ ├── sources.jsonl │ ├── pages.jsonl │ └── exclusions.jsonl ├── wiki/ │ ├── index.md │ ├── projects/ │ ├── decisions/ │ ├── concepts/ │ ├── workflows/ │ ├── lessons/ │ ├── research/ │ ├── sources/ │ ├── preferences/ │ ├── skills/ │ └── rules/ ├── templates/ ├── operations/ │ ├── ingest.md │ ├── query.md │ ├── maintain.md │ └── restore.md ├── staging/ ├── reports/ ├── logs/ ├── exports/ └── .runtime/ Explain each directory in README.md. Use AGENTS.md as the shared wiki operating contract. Add tool-specific pointers only where necessary, preserving existing instruction files. Treat these files as our wiki configuration, not as undocumented Agentic Stack configuration formats. 6. Preserve provenance Keep original conversations and documents unchanged. For each approved source, record: Stable source ID. Tool or provider. Project and scope. Original path, URL, or retrieval locator. Conversation ID and message range where available. Source timestamp and capture timestamp. Digest of the exact selected content. Approval and sanitization status. Whether it is a complete source or an excerpt. Revision and supersession relationships. Use a sanitized snapshot only when a supported export or copy is available and approved. Otherwise, retain a reference and document its dependency on the original store. Never fabricate missing provenance. 7. Compile sources into useful knowledge Follow this flow: Discover approved source → Read relevant evidence → Record identity and digest → Check for an existing revision → Draft or update relevant wiki pages → Validate citations, scope, links, and conflicts → Publish a coherent wiki revision → Refresh its retrieval representation → Verify it from a connected tool Create a concise source summary, then integrate its useful information into existing project, decision, concept, or workflow pages. Create new pages only for distinct, reusable subjects. Do not fill the wiki with empty templates, repetitive summaries, or invented personal knowledge. Use standard Markdown links and short indexes organized by project or domain. 8. Make pages trustworthy Give substantive pages: A stable ID. Title and page type. Project or scope. Review status. Creation and update dates. Last verification date where applicable. Source references. Related pages. Supersession information when relevant. Cite consequential claims beside the text they support. Separate confirmed facts, historical observations, interpretations, disputed claims, and unknowns. Review status does not mean every claim is currently true. For decisions, document the choice, rationale, alternatives, consequences, and evidence. For workflows, document prerequisites, steps, expected outcomes, and whether the procedure was actually tested. Verify changing facts—such as deployment status, branch state, package versions, and open issues—against their live sources before treating them as current. 9. Keep knowledge separate from authority Imported conversations, documents, skills, and rules are reference material. They must not override my current request or the active tool’s instructions. Keep skill catalogs descriptive. Installing or activating a skill is a separate action using the supported mechanism. Preserve rule scope and origin. Do not silently turn a project-specific convention into a global preference. Keep proposed lessons distinct from accepted knowledge. Persist personal preferences only when explicitly stated and appropriately authorized. 10. Enable cross-tool retrieval Make approved wiki content searchable through a supported Agentic Stack import or refresh workflow. Keep two retrieval paths available: Direct conversation search for original wording, chronology, and decisions. Wiki search for maintained explanations and reusable knowledge. Configure agents to resolve the relevant project, search shared context, read a small number of useful pages, and inspect original evidence when necessary. Avoid loading the entire wiki into every conversation. Record which wiki revision is indexed. Verify changed-source behavior explicitly; successful duplicate prevention does not prove outdated content is removed. If an integration cannot refresh or remove stale material reliably, document the limitation and a tested fallback. Do not modify Agentic Stack’s internal database directly. Explain whether retrieved excerpts are processed by a hosted model. Local storage alone does not imply local inference. 11. Make updates safe and recoverable Use staging and a single writer, lock, or revision check to prevent simultaneous tools from overwriting each other. Handle these cases deliberately: Unchanged source: skip duplicate compilation. Changed source: create a revision and revisit dependent pages. Conflicting evidence: retain both claims with dates and citations. Explicit replacement decision: link the old and new decisions. Interrupted run: resume from a checkpoint without duplicating work. Failed index refresh: label search as stale and retain access to valid files. Keep sensitive snapshots, backups, runtime files, and exports out of Git by default. Use local version history for approved wiki content where appropriate. Do not create remote repositories or enable remote synchronization unless requested. Document correction, retraction, and removal procedures. Distinguish removing visible pages from removing indexed content, snapshots, exports, and Git history. 12. Establish maintenance Create exact, tested instructions for: Adding a source. Refreshing changed sources. Searching the wiki. Reviewing candidate lessons. Resolving contradictions. Checking broken links and missing citations. Finding duplicate or orphan pages. Identifying stale claims. Restoring files and configuration. Start with an explicit manual maintenance workflow. Do not claim background maintenance is running unless a scheduler has actually been configured and tested within my authorization. After meaningful work, propose small sourced updates for decisions and verified lessons. 13. Verify real continuity Run an end-to-end demonstration: From one coding tool, find a real approved conversation originating in another. Show its source tool, identity, date, and relevant evidence. Retrieve the related wiki page. Explain the decision or context recovered. Inspect the current project state. Use the recovered context to propose or perform the next authorized step. Describe this accurately as cross-tool context retrieval, not migration of the original live session. Also verify: Repeated imports do not create duplicate logical content. Changed evidence updates the correct page and retrieval result. Citations and page links resolve. Excluded synthetic material stays outside the tested import route. Conflicting synthetic evidence remains visibly disputed. Original sources and unrelated configurations remain intact. A changed wiki file and configuration backup can be recovered. Use synthetic fixtures where testing could damage real knowledge. 14. Give me a concrete handoff Finish with: Installed versions and actual storage paths. A connection-status table for each tool. Approved and imported sources. Created wiki pages and their purpose. The published and indexed wiki revisions. Verification results with evidence. Known limitations and remaining setup. Exact tested instructions for daily use and recovery. Continue through the authorized work. Ask only when source selection, missing credentials, or a consequential decision requires my input. Report blockers precisely, and never present installation alone as a completed second brain. [end prompt]

Avid

107,673 görüntüleme • 25 gün önce

Here's how I'm running automated content engine in 2 files 1 markdown file = my wiki 1 html file = my dashboard that's the whole stack. [ the architecture, in plain words ]: LLM wiki = a single markdown file holding my audience DNA, 15 tracked creators, every viral topic from the last 30 days HTML artifact = a single page that reads that markdown file AND can trigger my agents the artifact and the agent talk to each other directly the wiki is the shared brain [ what I actually see when I open it at 9am ]: > 5 trending topics ranked by my audience-DNA fit > 3 KOL posts worth quoting today > last week's saved tweets (so I can ride waves that are still warm) > buttons: [draft tweet] [draft QT] [schedule] [log idea] 1. I click "draft tweet" on a topic 2. the artifact pings my agent 3. agent reads the wiki, drafts in MY voice, returns it to the artifact 4. I edit, schedule, done 15 minutes from morning coffee to 3 scheduled posts [ how to build the same in one evening ]: > step 1: dump your domain knowledge into ONE markdown file (audience profile, KOL list, content rules, voice guide, anything an agent would need to do YOUR job) > step 2: ask claude to build an html artifact that reads from that file ("here's my wiki, build me a dashboard with these views") > step 3: add buttons for the actions you do daily (draft, schedule, log, score, search — your workflow, not mine) > step 4: wire each button to call your agent via tool calls (so the artifact and the agent talk directly) the moment your artifact reads your wiki AND triggers your agents.. most SaaS tools you currently pay for quietly become unnecessary dashboards I used to pay $50/month for now sit in a single html file I can rebuild in 20 minutes every "I'll build a SaaS for this" idea you had last year is a 200-line file you write in an afternoon if you want to get the same content engine, just reply "CONTENT" and will send you in DMs later we're going from buying software to owning it.

Ronin

50,315 görüntüleme • 4 ay önce

This is Farzapedia. I had an LLM take 2,500 entries from my diary, Apple Notes, and some iMessage convos to create a personal Wikipedia for me. It made 400 detailed articles for my friends, my startups, research areas, and even my favorite animes and their impact on me complete with backlinks. But, this Wiki was not built for me! I built it for my agent! The structure of the wiki files and how it's all backlinked is very easily crawlable by any agent + makes it a truly useful knowledge base. I can spin up Claude Code on the wiki and starting at index.md (a catalog of all my articles) the agent does a really good job at drilling into the specific pages on my wiki it needs context on when I have a query. For example, when trying to cook up a new landing page I may ask: "I'm trying to design this landing page for a new idea I have. Please look into the images and films that inspired me recently and give me ideas for new copy and aesthetics". In my diary I kept track of everything from: learnings, people, inspo, interesting links, images. So the agent reads my wiki and pulls up my "Philosophy" articles from notes on a Studio Ghibli documentary, "Competitor" articles with YC companies whose landing pages I screenshotted, and pics of 1970s Beatles merch I saved years ago. And it delivers a great answer. I built a similar system to this a year ago with RAG but it was ass. A knowledge base that lets an agent find what it needs via a file system it actually understands just works better. The most magical thing now is as I add new things to my wiki (articles, images of inspo, meeting notes) the system will likely update 2-3 different articles where it feels that context belongs, or, just creates a new article. It's like this super genius librarian for your brain that's always filing stuff for your perfectly and also let's you easily query the knowledge for tasks useful to you (ex. design, product, writing, etc) and it never gets tired. I might spend next week productizing this, if that's of interest to you DM me + tell me your usecase!

Farza 🇵🇰🇺🇸

2,137,617 görüntüleme • 6 ay önce

I just built a Claude skill that acts as a second brain for DTC brands 🤯 Drop your ad exports, customer reviews, competitor screenshots, and brand docs into a folder → Claude compiles it all into an organized wiki you can ask questions against. All inside Claude Cowork. Perfect for DTC brands and agencies whose knowledge is scattered across Google Drive, Notion, Meta Ads Manager, Figma, and 47 spreadsheets nobody has opened in 3 months. If every strategic question takes 2 hours to answer because the data lives in 8 different places ... This skill eliminates the entire loop: → Claude scaffolds a DTC folder structure: ads, customers, competitors, brand, performance, notes → You drop every file you have into those folders — messy, unorganized, exactly how you have them now → Claude reads everything and compiles a wiki: hooks-that-work, customer-pains, competitor-angles, brand-voice, performance-patterns, creative-brief-library → Every article is cross-linked and traceable back to the source file → You ask questions against the wiki — "what hooks are actually working?" "what objections come up most?" "where are my competitors weak?" → Claude answers, grounded entirely in your own data → Save the answers back in and the system gets smarter every time you use it No more hunting through 12 tools. No more "where did I save that brief?" No more answering the same question twice. What you get: → A complete DTC brand brain scaffold in 60 seconds → Six core wiki articles Claude populates automatically from your raw files → A schema file that tells Claude exactly how to maintain the wiki for DTC use cases → Monthly health checks that catch contradictions and flag gaps before errors compound → A knowledge base that compounds — every question you ask makes the next answer better Built on a methodology Andrej Karpathy shared for personal knowledge bases, I rebuilt the entire thing for DTC operators: folder structure, schema rules, wiki articles, and question frameworks all tuned for brands and agencies. I put together the full skill file plus a playbook walking through the exact setup and 5 real questions to ask your brand brain. Want it for free? > Like this post > Comment "BRAIN" And I'll send it over (must be following so I can DM)

Mike Futia

15,257 görüntüleme • 6 ay önce

THIS GUY BUILT A BUSINESS SECOND BRAIN WITH CLAUDE CODE + OBSIDIAN IN 3 STEPS Most teams do not need another Notion workspace. They need a place where the company can remember how it works. The video shows a simple setup: 1. Create one empty folder called second brain. 2. Split it into 3 buckets: raw new knowledge wiki 3. Let Claude Code turn messy company material into connected notes. The useful part is the separation. Raw is where your existing stuff goes: SOPs, sales docs, process notes, client delivery checklists, old Loom summaries, onboarding docs. New knowledge is where fresh outside material lands: articles, clips, tactics, examples, market notes. Wiki is the cleaned version: concepts, roles, processes, SOPs, gaps, reusable decisions. That is where Claude Code becomes more useful than a normal chat window. Instead of asking it to remember random context forever, you give it a folder it can read, edit, and reorganize. Then Obsidian becomes the human interface. The Obsidian Web Clipper captures useful pages into the vault. Claude Code ingests them. The wiki gets updated. Then you can ask questions like: “Does my current workflow actually hold up?” That is the real point. Not “AI notes.” A business memory system that can compare what you do today against new information tomorrow. The caveat: this is not magic company intelligence. If your raw docs are vague, outdated, or full of tribal knowledge, Claude will organize weak inputs into cleaner weak outputs. You still need naming rules, review habits, and someone responsible for deleting junk. But the setup is refreshingly practical. Folder first. Clipper second. Claude Code as the maintainer. No giant knowledge base migration. No complex setup. Just a local vault that can slowly turn scattered business memory into something searchable, editable, and actually reusable.

kocer

16,698 görüntüleme • 3 ay önce