Syke - Local-first memory for agents

VerifiedCaution

Local-first cross-harness memory tool for agents, observing activity across sessions with ask, memex, and record commands.

Sby Skills Guide Bot
Data & AIIntermediate
7/22/2026
Claude CodeCursorCodex
#agent-memory#context-management#local-first#cli#cross-session

Recommended for

Automated summary

Syke is a local-first memory tool that maintains a current memex (~/.syke/MEMEX.md) and exposes `syke ask`, `syke memex` and `syke record` so agents keep continuity across sessions.

Strengths

  • The memex is a plain local file that can be read directly, so work continues even when `ask` fails or is killed by a caller timeout.
  • Explicit exit-code contract: 0 means an answer on stdout, 1 means an error on stderr, so stderr is never mistaken for an answer.
  • Unattended setup through `syke setup --agent`, which returns JSON `status`, `next_steps` and `exit_code` fields so agents can act without looping.
  • Clear degradation path: fall back to `syke memex`, then `syke status` and `syke doctor` to diagnose a broken install.

Limitations

  • Requires installing the `syke` binary, a Node.js 20+ runtime and configured provider auth before it delivers any value.
  • The background synthesis loop can lag behind the newest event; only `syke ask` reaches the underlying timeline.
  • Some sandboxes can read the memex but cannot open the live store, so deeper queries must run from a trusted host shell.
When to use it

Use it when an agent needs to recover context from a previous session or record a durable decision for the sessions that follow.

When not to use it

Avoid relying on it as the sole source of project truth without first confirming Syke is installed and `syke doctor` reports no issues.

Security analysis

Caution
Quality score80/100

The skill is a straightforward CLI wrapper: it reads/writes a local memory file and shells out to the `syke` binary for queries, recording, and diagnostics. Nothing is destructive or exfiltrating, but it does invoke a third-party tool with terminal and network access, installs an unpinned package, starts a background observation daemon, accepts API keys on the command line, and pipes unvetted cross-session memory text into the agent's context. These are legitimate-but-powerful capabilities, so caution rather than safe.

Findings
  • •Instructs the agent to read and internalize `~/.syke/MEMEX.md` (and `syke memex`/`syke ask` output) before any task; this content is derived from cross-session activity and is not vetted, so it is a plausible indirect prompt-injection channel into the agent's context.
  • •Setup guidance passes provider secrets on the command line (`syke auth set <provider> --api-key <API_KEY> --use`), which can leak through shell history, process listings, or logs; a prompt/env-var or interactive `auth login` path should be preferred.
  • •Requires installing an unpinned third-party PyPI package (`pipx install syke`) and running `syke setup`, which the description says starts a background loop observing activity across harnesses — broad, persistent local data collection with supply-chain exposure.
  • •Declares terminal toolset usage and network/provider access, but contains no destructive commands, no curl|sh piping, no base64 payloads, and no attempt to disable safety controls.
How this analysis is made

Examples

Recover prior session context
Before we start, run `syke memex` and tell me what I was working on last session. If the memex is too thin, use `syke ask` to pull the timeline of changes to the auth module.
Record a decision
Record this in Syke: we are dropping Redis and moving the job queue to Postgres LISTEN/NOTIFY because the ops overhead was not worth it. Use `syke record`.
Diagnose a broken install
`syke ask` is failing and nothing useful comes back. Run `syke status` and `syke doctor`, then walk me through fixing the setup.

name: syke description: "Local-first cross-harness memory for agents. Syke observes activity across supported harnesses, keeps a current memex in context, and gives agents syke ask, syke memex, and syke record for continuity across sessions." version: 0.5.10 author: saxenauts license: AGPL-3.0-only metadata: hermes: tags: [Memory, Context, Identity, Cross-Platform, Agentic-Memory] related_skills: [] requires_toolsets: [terminal] requires: bins: ["syke"] install: - id: pipx kind: pipx package: syke bins: ["syke"] label: "Install Syke (pipx)"

Syke

Read the user's memex before doing anything else. It is the current map of what is active, what changed, and where deeper evidence lives.

Canonical memex path: ~/.syke/MEMEX.md

When to Use

  • syke ask: deeper timeline and evidence-backed queries
  • syke memex: fastest read of the current memex
  • syke record: write observations back into memory
  • syke status: quick operational snapshot
  • syke doctor: deeper diagnostic when setup or runtime looks wrong

Quick Reference

| Command | Use | Exit 0 | Exit 1 | |---------|-----|--------|--------| | syke ask "question" | Deep memory query | Answer on stdout | Error on stderr, stdout empty | | syke memex | Current memex | Memex on stdout | Error message | | syke record "text" | Write observation | Confirmation | Error message | | syke status | Runtime snapshot | Status on stdout | Error message | | syke doctor | Health check | All OK | Issues found |

Procedure

  1. Read the memex already in context or call syke memex. If you need the file directly, start with ~/.syke/MEMEX.md.
  2. Use syke ask when the memex is not enough.
  3. Use syke record after useful work so the next session inherits it.
  4. Use syke status for a quick state check.
  5. Use syke doctor when setup or runtime looks wrong.

Pitfalls

  • If syke ask fails, do not treat stderr as the answer. Fall back to syke memex.
  • If syke ask is killed by a caller timeout, fall back to syke memex.
  • Some sandboxes can read the memex but cannot open the live store. In those cases, use syke memex or the injected memex there, and run syke ask from a trusted host shell if needed.
  • If the memex is empty, Syke may not be set up yet or synthesis may not have produced a useful memex.
  • The background loop can lag behind the newest event. syke ask can still search the underlying timeline.

Verification

  • After syke ask, check the exit code. Exit 0 means answer on stdout. Exit 1 means failure on stderr.
  • After syke record, exit 0 means the observation was written.
  • After setup, syke doctor confirms health.

Setup & Onboarding

If Syke is not installed or configured, guide setup first.

For humans at a terminal:

  1. Install: pipx install syke (or uv tool install syke)
  2. Run: syke setup
  3. Follow the interactive provider, source, and daemon prompts.
  4. Confirm with syke doctor.

For unattended agents, installers, and CI:

  1. Run syke setup --agent.
  2. Parse the JSON status, next_steps, and exit_code fields.
  3. If status is "needs_runtime", install Node.js 20+ (22 LTS recommended) and rerun syke setup --agent.
  4. If status is "needs_provider", configure provider auth with syke auth set <provider> --api-key <API_KEY> --use or syke auth login <provider> --use, then rerun syke setup --agent.
  5. If status is "complete", stop setup work and follow the returned next_steps. Do not loop on setup.
  6. If status is "failed", read the error field and fix that issue.

Common providers: anthropic, openai, azure-openai-responses, kimi-coding, openrouter. For Azure, also pass --base-url https://<resource>.openai.azure.com/openai/v1 and --model <model>.

Provider Commands

| Command | What It Does | |---------|-------------| | syke auth status | Show selected provider, auth source, model, and endpoint | | syke auth use <name> | Switch active provider | | syke auth set <name> --api-key <KEY> --use | Store credentials and make this the active provider | | syke config show | Show effective config |

Provider resolution: CLI --provider flag > SYKE_PROVIDER env > Pi defaultProvider in ~/.syke/pi-agent/settings.json.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/syke-local-first-memory-for-agents-mrwakf54/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/syke-local-first-memory-for-agents-mrwakf54' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/syke-local-first-memory-for-agents-mrwakf54/download' --output '.skill-downloads/syke-local-first-memory-for-agents-mrwakf54/SKILL.md.part' && mv '.skill-downloads/syke-local-first-memory-for-agents-mrwakf54/SKILL.md.part' '.skill-downloads/syke-local-first-memory-for-agents-mrwakf54/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Original excerpt: Quick Reference
CommandUseExit 0Exit 1
syke ask "question"Deep memory queryAnswer on stdoutError on stderr, stdout empty
syke memexCurrent memexMemex on stdoutError message
syke record "text"Write observationConfirmationError message
syke statusRuntime snapshotStatus on stdoutError message
syke doctorHealth checkAll OKIssues found

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/syke-local-first-memory-for-agents-mrwakf54/SKILL.md' && test -s '.skill-downloads/syke-local-first-memory-for-agents-mrwakf54/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/syke' && cp -R '.skill-downloads/syke-local-first-memory-for-agents-mrwakf54' '.claude/skills/syke'

Cursor
test -f '.skill-downloads/syke-local-first-memory-for-agents-mrwakf54/SKILL.md' && test -s '.skill-downloads/syke-local-first-memory-for-agents-mrwakf54/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/syke' && cp -R '.skill-downloads/syke-local-first-memory-for-agents-mrwakf54' '.cursor/skills/syke'

Codex
test -f '.skill-downloads/syke-local-first-memory-for-agents-mrwakf54/SKILL.md' && test -s '.skill-downloads/syke-local-first-memory-for-agents-mrwakf54/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/syke' && cp -R '.skill-downloads/syke-local-first-memory-for-agents-mrwakf54' '.agents/skills/syke'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/syke-local-first-memory-for-agents-mrwakf54'

openskills read 'syke-local-first-memory-for-agents-mrwakf54'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/syke-local-first-memory-for-agents-mrwakf54/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills