Logo di Atlas Package Cloner

Atlas Package Cloner

Community
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.

Panoramica

Pubblicato daplanetis-m
Repositoryskills
Nome della skillatlas-package-cloner
Stelle
66
Fork
7
File inclusi
3
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 3

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da planetis-m su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Atlas Package Cloner in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/planetis-m/skills/tree/master/atlas-package-cloner
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Atlas Package Cloner in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Atlas Package Cloner non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Atlas Package Cloner non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Atlas Package Cloner su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Atlas Package Cloner è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Atlas Package Cloner in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/planetis-m/skills/tree/master/atlas-package-cloner. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Atlas Package Cloner?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Atlas Package Cloner?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Atlas Package Cloner: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Atlas Package Cloner è gratuita?

È pubblicata su GitHub da planetis-m. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇