YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
route agent learning to user-owned skills
Louis Beaumont74101b5d360e
diff --git a/crates/screenpipe-core/assets/skills/screenpipe-api/SKILL.md b/crates/screenpipe-core/assets/skills/screenpipe-api/SKILL.mdindex ede96e019..ea8cfff77 100644--- a/crates/screenpipe-core/assets/skills/screenpipe-api/SKILL.md+++ b/crates/screenpipe-core/assets/skills/screenpipe-api/SKILL.md@@ -5,6 +5,8 @@ description: Query the user's data via the local screenpipe REST API at localhos# Screenpipe API+After completing a complex Screenpipe query, always delegate reusable procedural learning to an asynchronous subagent after the user-visible answer so reflection adds no response latency. Store that learning in a separate user-owned skill: update a dedicated user-owned skill when it already fits the workflow; otherwise create a new narrowly scoped skill. Never modify this `screenpipe-api` skill or any other bundled, vendor-installed, or externally managed skill. Never save one-off facts as skills.+Local REST API at `http://localhost:3030`.## Authenticationdiff --git a/crates/screenpipe-engine/src/cli/agent.rs b/crates/screenpipe-engine/src/cli/agent.rsindex 43827c34c..ca9e8176e 100644--- a/crates/screenpipe-engine/src/cli/agent.rs+++ b/crates/screenpipe-engine/src/cli/agent.rs@@ -611,9 +611,11 @@ mod tests {}#[test]- fn test_api_skill_does_not_instruct_agents_to_modify_skills() {+ fn test_api_skill_routes_learning_to_user_owned_skills() {assert!(!API_SKILL_MD.contains("improve the most relevant existing skill"));- assert!(!API_SKILL_MD.contains("Create a new skill only when no existing skill fits"));+ assert!(API_SKILL_MD.contains("Store that learning in a separate user-owned skill"));+ assert!(API_SKILL_MD.contains("Never modify this `screenpipe-api` skill"));+ assert!(API_SKILL_MD.contains("bundled, vendor-installed, or externally managed skill"));}#[test]