read large webpage or knowledge
Installation
SKILL.md
🧠 Knowledge Base
- Target Scenarios: Reading long technical documents, research reports, policy documents, web encyclopedias, etc.
- Core Capabilities: Segment-based retrieval of original text, real-time summarization, and knowledge network construction.
- Supporting Tools:
get_knowledge_by_lines(segment-by-segment reading),add_knowledge(incremental summary writing).
📥 Input Specification
Before starting to read, the following should be clarified:
- The identifier of the knowledge resource to be read (e.g., URL, document ID, file path).
- The number of lines or paragraph size to pull each time.
- The current question or topic of focus, to maintain focus during summarization.
- Output format requirements (paragraph summaries, bullet points, continuous records, etc.).
🛠️ Processing Pipeline
- Locate Range: Determine the starting line number and reading length based on user input, and record offsets when necessary for continuation.
- Segment-by-Segment Reading: Call
get_knowledge_by_linesto pull the original content of the specified range. If the content is too long, it can be scheduled in multiple batches, and record the remaining unread ranges. - Real-Time Analysis: Extract key points from the pulled segments, annotate keywords, key information, potential issues, or data.
- Knowledge Deposition: Write the refined key points into the knowledge base through
add_knowledge, along with source line numbers, timestamps, or context descriptions, maintaining structure. - Iterative Progress: Repeat steps 2-4 until the entire text is read or the user-defined target depth is reached, while maintaining progress indices for recovery.
- Global Review: At periodic nodes, merge stored summaries, generate overall context maps or summaries, and identify missing information.