dsh-session-projection
Skill by deepseek-ai
Guides creating, extending, reviewing, and migrating session projections in DeepSeek Harness. It sets rules for keeping recoverable session state in Projection, with a focus on synchronous readers, versioning, and lifecycle timing.
Install dsh-session-projection
Built from the published package, never by AI.
git clone --depth 1 https://github.com/deepseek-ai/deepseek-harness /tmp/deepseek-harness && mkdir -p ~/.claude/skills && cp -r /tmp/deepseek-harness/.agents/skills/dsh-session-projection ~/.claude/skills/dsh-session-projectionRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/deepseek-ai/deepseek-harness /tmp/deepseek-harness && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/deepseek-harness/.agents/skills/dsh-session-projection ~/.gemini/antigravity-cli/skills/dsh-session-projectionAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install dsh-session-projection in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
dsh-session-projection is a skill of rules for working on session projections in the DeepSeek Harness codebase. It applies when creating, extending, or reviewing a projection, or when moving session-derived recovery state into one. It points to the session-projection README for the supported preparation, registration, read, and cleanup contracts.
The rules cover what state belongs in Projection, how readers are exposed through owning services, and how recovery stays synchronous and deterministic. They also cover state versioning, checkpoint watermarks, memory limits for history-sized state, cache behavior, registration and Session loading order, consumer compatibility, and the tests needed for lifecycle changes. It is written for developers and maintainers of DeepSeek Harness.
Written from the project's SKILL.md and checked against it.
What it can do
- Review projection designChecks that persisted session state lives in Projection and is exposed through its owning services.
- Guide registration timingExplains when to await required registration before using a projection handle.
- Check state versioningSets rules for when a state version must change and how checkpoints are restored.
- Limit state growthRequires fixed-size or sublinear state, with stated memory, replay, and per-event costs for linear state.
- Review cache behaviorRequires caches to be discardable and rebuildable without changing behavior.
- Plan consumer migrationAsks for all official consumers to be identified before a read path is switched.
- Define test coverageLists tests for delayed registration, rejection, disposal, and usable, missing, or incompatible checkpoints.
What you need
- A checkout of the DeepSeek Harness repository
Try asking
- Review my new session projection against the DeepSeek Harness rules
- Help me migrate this session recovery state into a projection
- Check whether my projection cache can change behavior when discarded
Good to know
- Written for DeepSeek Harness session projections, not general use
- Defers the supported API and lifecycle details to the linked README
- Synchronous read APIs cannot be replaced with Promises without consumer migration
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/dsh-session-projection/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to dsh-session-projection
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
dsh-session-projection: common questions
What is a session projection in DeepSeek Harness?
The skill describes Projection as the place for persisted or restorable session-derived state. Consumers read that state through their owning services.
When should the state version change?
The source says to change the version when state fields or recovery semantics change. The exception is optional additions that preserve historical meaning when absent and have tested old-checkpoint suffix equivalence.
Can a projection handle be exposed as a production API?
No. The source says not to expose projection definitions or handles as production read APIs. Consumers use the owning service's domain methods instead.
How do I install dsh-session-projection?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is dsh-session-projection free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is dsh-session-projection safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to dsh-session-projection?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
