docs: restructure around core / strands / langgraph with hook-based integration#11
Open
skillos-bot wants to merge 4 commits into
Open
docs: restructure around core / strands / langgraph with hook-based integration#11skillos-bot wants to merge 4 commits into
skillos-bot wants to merge 4 commits into
Conversation
The Curator's input is now ConversationHistory (list[dict[str, Any]]) following the litellm/OpenAI message format convention. This replaces the OTel Trace wrapper — conversation messages are a better source for skill extraction than telemetry spans. skillos-core: - New conversation.py with Message and ConversationHistory type aliases and a TODO noting the need for a cross-framework standard. - Curator ABC: curate(history: ConversationHistory) -> Changelog. - Removed trace.py, test_trace.py, opentelemetry-api/sdk dependencies. skillos-strands: - StrandsCurator.curate now takes ConversationHistory. - _format_history renders both Strands-style (content blocks with toolUse/toolResult) and OpenAI-style (tool_calls at message level) messages into a readable prompt for the curator agent. - Tests cover both message formats, empty history, and end-to-end curator integration. https://claude.ai/code/session_01K9ZQSP244HQWEobYU7euik
- README: adds SDK integration table (strands / ADK / langgraph) and a getting-started snippet using ConversationHistory - docs/index.md: split into skillos-core interfaces section and SDK integrations section with per-framework entries - docs/getting-started.md: rewritten as a tabbed "three languages" guide — Strands, ADK, LangGraph — with working Strands examples and placeholder tabs for coming-soon integrations - docs/api/skillos-core.md: extended with Curator, ConversationHistory, Changelog, Change, and ChangeKind added in recent commits - docs/api/skillos-strands.md: new API reference for StrandsCurator and create_skill_tools - packages/skillos-strands/README.md: new package-level README - mkdocs.yml: enables navigation.tabs, content.tabs.link, and pymdownx.tabbed for the tabbed getting-started page https://claude.ai/code/session_018a9BJRxnNgyVy4qchZY2tE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hook()patternskillos-coreinterfaces section and anSDK integrationssection with per-framework entries (strands available, ADK/LangGraph coming soon)curate()integration patternsCurator,ConversationHistory,Changelog,Change, andChangeKindStrandsCurator(including the newhook()method), andcreate_skill_toolsnavigation.tabs,content.tabs.link, andpymdownx.tabbedfor the tabbed getting-started page; adds skillos-strands to navWhat's new vs last revision
StrandsCurator.hook()(added in Add StrandsCurator.hook() and end-to-end tests #12): returns aHookProviderforAgent(hooks=[curator.hook()])so curation fires automatically after every agent invocation, with no extra code in the run loop.Test plan
mkdocs serverenders without errorshttps://claude.ai/code/session_01WY5rXJ5qLmhzRtZxmQ9FPp