Skip to main content

Локальное ядро управления навыками: install из git/локальной папки, junction/symlink-линковка в scope агента, .skillignore-фильтр, build manifest, project-манифест. 0 завязок на сеть/auth — stdlib + tomli-w + pathspec + platformdirs.

Project description

s-skillkit

Локальное ядро управления навыками (skills) — SIBLING librarykit (не зависит от него, от httpx, auth или сети). Только локальная ФС-механика.

Что внутри

  • SkillStore (skillkit.installer) — материализация навыка в центральный стор и линковка (junction на Windows / symlink на POSIX) в scope агента:
    • install_from_git / install_from_path / install / materialize
    • update (инкрементальный sha-diff), link_existing, migrate_scope
    • remove (keep-local / purge)
    • P0 stub-would-clobber guard (stub не затирает живой контент).
  • targetsIAgentTarget + detect_agent / get_target (Claude Code, Codex, Antigravity).
  • manifestbuild_manifest для publish + ридеры frontmatter / _skill_meta.toml.
  • filter.skillignore / files-allowlist фильтр (pathspec).
  • project — проектный манифест .skills-hub/skills.toml.
  • Paths — инъекция каталогов (store_dir / config_dir / bin_dir). Paths.default() — нативная раскладка через platformdirs.

Инъекция вместо завязки на конфиг

Кит НЕ читает env/config. Каталоги передаются явным Paths; git-учётка — инъектируемым credential_resolver (callable url -> url). Потребитель (CLI) читает env-токен и собирает резолвер:

from skillkit import SkillStore, Paths, get_target

paths = Paths.default()  # или из ClientConfig

def resolver(url: str) -> str:
    token = os.environ.get("SKILLS_HUB_GIT_TOKEN")
    if token and url.startswith("https://") and "@" not in url:
        return url.replace("https://", f"https://oauth2:{token}@", 1)
    return url

store = SkillStore(get_target(None), paths.store_dir, credential_resolver=resolver)

Зависимости

tomli-w, pathspec, platformdirs. requires-python >=3.11. MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

s_skillkit-0.1.3.tar.gz (62.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

s_skillkit-0.1.3-py3-none-any.whl (50.2 kB view details)

Uploaded Python 3

File details

Details for the file s_skillkit-0.1.3.tar.gz.

File metadata

  • Download URL: s_skillkit-0.1.3.tar.gz
  • Upload date:
  • Size: 62.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for s_skillkit-0.1.3.tar.gz
Algorithm Hash digest
SHA256 db0d9ef110395debe8a949d62baf99fc1459fd659e01fc16ebce71c021d08631
MD5 899cb50896d047826effd5e375b7a3a4
BLAKE2b-256 743cddf7bb3888944f39ed25acc361edb9772e923936761e89b86ff55276bacc

See more details on using hashes here.

File details

Details for the file s_skillkit-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: s_skillkit-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 50.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for s_skillkit-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5b2f3632311202d36e7579573ab6a47e0a1bb0be5e74ca7f02c53a262cc82d57
MD5 47265d9cceb92e43fb9ce6967e4ff50a
BLAKE2b-256 768aaa2040123e4e648285bed5369d4f981505dff5639df14de5ac8af432ce89

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page