Atlas Package Clonerのロゴ

Atlas Package Cloner

コミュニティ
planetis-m
atlas-package-cloner

Use Atlas to initialize Nim projects, install or update Atlas-managed dependencies, configure dependency directories, inspect Atlas-generated nim.cfg paths, handle Atlas overrides, features, plugins, lockfiles, and local Nim environments. Use when setting up or repairing Nim dependency workflows that use Atlas instead of Nimble's global package path.

概要

公開者planetis-m
リポジトリskills
スキル名atlas-package-cloner
スター
66
フォーク
7
同梱ファイル
3
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    planetis-mがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Atlas Package Cloner」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/planetis-m/skills/tree/master/atlas-package-cloner
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/planetis-m/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/atlas-package-cloner .claude/skills/atlas-package-cloner
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAtlas Package Clonerを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAtlas Package Clonerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Atlas Package Clonerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Atlas Package Cloner

Rules

Project State

  • Treat either root atlas.config or <deps>/atlas.config as Atlas config. Atlas prefers root atlas.config when present, but atlas init creates deps/atlas.config by default.
  • Use atlas init from the project root to initialize Atlas state.
  • Use atlas init --deps=DIR or atlas --deps=DIR init when the project intentionally uses a dependency directory other than deps/.
  • After initialization, inspect <deps>/atlas.config; the default config records deps, nameOverrides, urlOverrides, pkgOverrides, plugins, resolver, and graph.
  • Do not assume atlas init creates nim.cfg. Atlas has code paths that patch nim.cfg when dependency operations need compiler paths.

Commands

  • Use atlas use <url|pkgname> to add a dependency.
  • Use atlas install when the Nimble file already contains requirements and Atlas should materialize the dependency graph.
  • Use atlas update [filter] to refresh dependency refs. Prefer a filter when only one dependency needs an update.
  • Use atlas link <path> only for local project linking tasks; be prepared to inspect generated link files and the linked project's dependency graph state.
  • Use atlas pin [atlas.lock] to pin current dependency checkouts.
  • Use atlas rep [atlas.lock] to replay a lockfile. atlas replay and atlas reproduce are aliases.
  • Use atlas --noexec rep [atlas.lock] when replay should avoid build actions that may run arbitrary code.
  • Use atlas env <nimversion> for project-local Nim environments, for example atlas env 1.6.12 or atlas env devel.

Package Names, URLs, And Indexes

  • Package names are resolved through Atlas' package lookup table, populated from packages.json, plus configured nameOverrides.
  • URL inputs are parsed as URLs and can be rewritten with urlOverrides.
  • Forge aliases are valid package references:
AliasExpands to
gh:user/repo or github:user/repohttps://github.com/user/repo
gl:user/repo or gitlab:user/repohttps://gitlab.com/user/repo
srht:user/repo or sourcehut:user/repohttps://git.sr.ht/~user/repo
cb:user/repo, cberg:user/repo, or codeberg:user/repohttps://codeberg.org/user/repo
  • Atlas downloads packages.json into the package cache by default, using packages.nim-lang.org with GitHub fallback.
  • Use --packagesRepo only when the workflow needs the full nim-lang/packages git repository behavior.
  • Use --forceGitToHttps when dependency URLs need git:// rewritten to https://.
  • If a package name or URL resolves incorrectly, fix nameOverrides, urlOverrides, or pkgOverrides in <deps>/atlas.config instead of editing generated paths by hand.

Generated nim.cfg Paths

  • Atlas' nim.cfg patcher uses this section shape:
text
############# begin Atlas config section ##########
--noNimblePath
--path:"deps/pkg"
############# end Atlas config section   ##########
  • Inspect the Atlas section in nim.cfg when imports fail.
  • Preserve user-written content outside the Atlas begin/end section.
  • Do not hand-edit generated --path entries as the first fix. Correct the dependency graph, package metadata, or config overrides instead.

Resolution And Overrides

  • Atlas supports MinVer, SemVer, and MaxVer resolver algorithms.
  • The generated default config uses SemVer.
  • Set resolver policy in <deps>/atlas.config or with --resolver=minver|semver|maxver when the task requires a specific policy.
  • Use nameOverrides for package-name-to-URL mapping.
  • Use urlOverrides for URL rewrite rules.
  • Use pkgOverrides when multiple URLs conflict for the same package shortname.
  • Keep overrides in Atlas config so future install, use, update, and rep commands remain repeatable.

Features

  • Atlas supports Nimble feature statements.
  • Pass feature flags explicitly with --feature=<feature>. Pass multiple --feature options when multiple features are required, or use --features=<list> for a comma- or space-separated list.
  • Use --allFeatures only when every declared feature should be enabled.
  • Use --keepFeatures or -k when the command should reuse feature defines from the current nim.cfg.
  • Feature request flags populate runtime context; they are not saved as fields in atlas.config.
  • In Nimble requirements, feature syntax has the shape require "somelib[testing]".

Plugins And Build Actions

  • Atlas plugins are *.nims files read from the project-relative directory configured by the plugins field.
  • Treat plugin execution as potentially arbitrary code execution because plugins can call external tools.
  • Inspect the configured plugin directory before enabling plugins or replaying dependencies with execution enabled.
  • Use --noexec when the task only needs dependency graph setup or lockfile replay and build actions should not run.

Virtual Nim Environments

  • atlas env <version> creates a project-local Nim environment under the dependency directory.
  • After a successful env setup, activate it explicitly:
    • Unix: source deps/nim-<version>/activate.sh
    • Windows: deps\nim-<version>\activate.bat
  • Do not assume the virtual Nim environment is active in later shell sessions.

Workflow

  1. Inspect the project root. Look for *.nimble, nim.cfg, atlas.lock, deps/, and any custom dependency directory.
  2. Locate Atlas config. Check root atlas.config first, then <deps>/atlas.config; if --deps or --confdir is in use, inspect that configured location.
  3. Choose the Atlas command. Use init, use, install, update, link, pin, rep, or env according to the task. Run commands from the project root unless --project=path is intentional.
  4. Check policy before changing dependencies. Read resolver, overrides, plugins, feature needs, lockfile state, and existing Nimble requirements.
  5. Run the smallest Atlas operation. Use filters for targeted updates and --noexec when arbitrary build actions should not run.
  6. Verify generated state. Inspect <deps>/atlas.config, project.nimble, nim.cfg, and atlas.lock as applicable. Compile or test the smallest Nim target that imports the affected package.
  7. Preserve reproducibility. If the dependency set must remain stable, run atlas pin after successful setup and keep the lockfile with the project when that is the repository policy.

Task Examples

  • For a new project that adds a dependency, read references/start_project.md.
  • For custom dependency directories and overrides, read references/custom_deps_and_overrides.md.
  • For feature flags, lockfiles, and replay, read references/features_and_replay.md.

Common Mistakes

MistakeWhy it is wrong
Looking only for root atlas.configVerified atlas init writes deps/atlas.config by default even though root config is preferred when present.
Assuming atlas init creates nim.cfgVerified init creates Atlas config only; dependency operations are what drive path patching.
Editing generated nim.cfg paths firstAtlas can regenerate that section; fix config, package metadata, or dependency resolution instead.
Enabling plugins without inspectionPlugins are NimScript files and may execute external commands.

References

  • references/start_project.md — Atlas adoption: project setup, dependency addition, and compile flow.
  • references/custom_deps_and_overrides.md — Custom dependency directories and URL overrides.
  • references/features_and_replay.md — Optional features and lockfile replay commands.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Atlas Package Cloner」では何ができますか?

Use Atlas to initialize Nim projects, install or update Atlas-managed dependencies, configure dependency directories, inspect Atlas-generated nim.cfg paths, handle Atlas overrides, features, plugins, lockfiles, and local Nim environments. Use when setting up or repairing Nim dependency workflows that use Atlas instead of Nimble's global package path.

TypingMindでAtlas Package Clonerを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Atlas Package Clonerはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAtlas Package Clonerをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/planetis-m/skills/tree/master/atlas-package-clonerを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Atlas Package Clonerを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Atlas Package Clonerで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAtlas Package Clonerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Atlas Package Cloner」は無料ですか?

planetis-mがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇