Adding to your knowledgebase

How to fetch webpages and convert them to markdown to add to your knowledge base

majiayu000 ed7f58e 2 files · 1.6 KB Updated 567 repo stars

File contents

Adding to your knowledge base

Instructions

  1. Convert any webpage to markdown and add it to your knowledge base using the helper script:
sh scripts/helper.sh URL FILENAME.md

The script will:

  • Convert the URL to markdown and save to ~/.claude/resources/FILENAME.md
  • Prompt you for a category (e.g., Music, Programming, Documentation)
  • Prompt you for a brief description
  • Automatically update ~/.claude/resources/INDEX.md with the new entry

Example

sh scripts/helper.sh https://example.com/docs my_doc.md
# Category: Documentation
# Description: API reference for example service

The INDEX.md follows llms.txt-style formatting with markdown links and descriptions.

majiayu000/claude-skill-registry-data/tree/main/documents/adding-to-your-knowledgebase commit ed7f58ed74

Frequently asked questions

npx skillmds add majiayu000/adding-to-your-knowledgebase