npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@2sophia/sophia-motor-skill

v0.5.1

Published

Claude Code skill for the sophia-motor Python library — teaches a developer's Claude how to build agents with sophia-motor (the @tool decorator, MotorConfig, RunTask, subagents, MCP integration, multi-turn chat).

Readme

sophia-motor — Claude Code skill

A meticulous skill that teaches your local Claude Code how to build agents with sophia-motor — the @tool decorator, MotorConfig, RunTask, subagents, in-process MCP integration, structured output, and the production patterns the maintainers ship.

Install (recommended) — via Claude Code marketplace

Inside a Claude Code session:

/plugin marketplace add 2sophia/skills
/plugin install sophia-motor

Claude Code clones the 2sophia/skills repo, reads .claude-plugin/marketplace.json, and registers the skill. Update later with /plugin update. Zero filesystem ceremony.

Install (alternative) — via npm

If you prefer npm-driven installs:

npm install -g @2sophia/sophia-motor-skill
SKILL_DIR=$(npm root -g)/@2sophia/sophia-motor-skill
mkdir -p ~/.claude/skills && ln -s "$SKILL_DIR" ~/.claude/skills/sophia-motor

The marketplace path is canonical and avoids the symlink dance — prefer it unless you have a specific reason for npm.

What the skill does

When you ask your Claude (in Claude Code) to write Python code that uses sophia-motor, it loads SKILL.md and follows the conventions documented inside — including the golden rule: when uncertain about a field, default, or signature, read the installed source of the sophia-motor package directly rather than guessing.

The skill covers:

  • Installation, .env, first run
  • Motor / MotorConfig / RunTask API + lifecycle + env-var cascade
  • Built-in tools (Read, Glob, Bash, …) + the strict guardrail
  • @tool decorator + ToolContext for Python functions exposed as in-process MCP tools
  • SKILL.md mounting (the agent skills feature)
  • Attachments (hard-link / symlink quirks)
  • Structured output (output_data) + generated files (output_files)
  • Streaming + every chunk type
  • Chat + motor.console() + motor.interrupt()
  • Subagents (inheritance + explicit-restrict patterns)
  • Multi-provider adapters (Anthropic / vLLM / custom)
  • Observability — events, logs, audit dump
  • Production patterns — singleton motor, concurrency, chat backends
  • Reference tables — full field/env-var/event-type lookup
  • 10 known gotchas + recovery recipes

Versioning

The skill version tracks the sophia-motor Python package version it was built against. 0.5.1 is built against sophia-motor==0.5.1. When the installed Python version differs, the skill instructs Claude to inspect the installed source for ground truth — fail-safe by design.

Update

  • Marketplace: /plugin update inside Claude Code
  • npm: npm update -g @2sophia/sophia-motor-skill (the symlink picks up the new content automatically)

Uninstall

  • Marketplace: /plugin uninstall sophia-motor
  • npm:
    rm ~/.claude/skills/sophia-motor
    npm uninstall -g @2sophia/sophia-motor-skill

License

MIT — see LICENSE in the main repo.