Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ touches the document must preserve that property.

## `skills/amcli/` is shipped, not documentation

`npx skills add arslan-gg/amcli` copies that directory out of the default
`npx skills add arslanr-com/amcli` copies that directory out of the default
branch verbatim, and `crates/amcli-cli/src/skill.rs` embeds the same files with
`include_str!` for the binary-first route. **Both routes must produce identical
bytes** — `both_install_routes_ship_the_same_bytes` walks the directory and
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ members = [
version = "0.13.0"
edition = "2024"
license = "Apache-2.0"
repository = "https://github.com/arslan-gg/amcli"
repository = "https://github.com/arslanr-com/amcli"
rust-version = "1.90"

[workspace.dependencies]
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</p>

<p align="center">
<a href="https://github.com/arslan-gg/amcli/actions/workflows/ci.yml"><img src="https://github.com/arslan-gg/amcli/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
<a href="https://github.com/arslan-gg/amcli/releases/latest"><img src="https://img.shields.io/github/v/release/arslan-gg/amcli?label=release" alt="Latest release"></a>
<a href="https://github.com/arslanr-com/amcli/actions/workflows/ci.yml"><img src="https://github.com/arslanr-com/amcli/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
<a href="https://github.com/arslanr-com/amcli/releases/latest"><img src="https://img.shields.io/github/v/release/arslanr-com/amcli?label=release" alt="Latest release"></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue.svg" alt="Apache-2.0"></a>
<a href="https://agentskills.io"><img src="https://img.shields.io/badge/agent%20skill-included-8A2BE2" alt="Agent skill included"></a>
</p>
Expand Down Expand Up @@ -107,26 +107,26 @@ http://127.0.0.1:52341/
**For an agent** — the skill installs and updates the binary itself:

```bash
npx skills add arslan-gg/amcli
npx skills add arslanr-com/amcli
```

**Just the binary** — checked against the release's SHA256SUMS before it is
unpacked, with no flag that skips that, into `~/.local/bin`, no `sudo`, no
shell config edited:

```bash
curl -fsSL https://raw.githubusercontent.com/arslan-gg/amcli/main/skills/amcli/scripts/install.sh | sh
curl -fsSL https://raw.githubusercontent.com/arslanr-com/amcli/main/skills/amcli/scripts/install.sh | sh
```

```powershell
irm https://raw.githubusercontent.com/arslan-gg/amcli/main/skills/amcli/scripts/install.ps1 | iex
irm https://raw.githubusercontent.com/arslanr-com/amcli/main/skills/amcli/scripts/install.ps1 | iex
```

**From source** (Rust 1.90+; the only route for platforms without a prebuilt
binary — the installers fall back to it on their own):

```bash
cargo install --git https://github.com/arslan-gg/amcli --locked amcli-cli
cargo install --git https://github.com/arslanr-com/amcli --locked amcli-cli
```

Add `--tag vX.Y.Z` to build a release rather than the branch, which is what
Expand Down
2 changes: 1 addition & 1 deletion crates/amcli-cli/src/skill.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Installing the agent skill.
//!
//! `npx skills add arslan-gg/amcli` is the primary route and copies
//! `npx skills add arslanr-com/amcli` is the primary route and copies
//! `skills/amcli/` out of the repository verbatim. This command is the reverse
//! route, for someone who got the binary first. Both must produce the *same*
//! bytes, so the embedded copy is taken from that same directory and nothing
Expand Down
2 changes: 1 addition & 1 deletion skills/amcli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compatibility: >-
model file. The one optional server is `amcli web`, a local read-only
viewer that runs only while asked to and stops with Ctrl-C.
metadata:
homepage: https://github.com/arslan-gg/amcli
homepage: https://github.com/arslanr-com/amcli
binary: amcli
spec: ArchiMate 3.2
---
Expand Down
2 changes: 1 addition & 1 deletion skills/amcli/scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ try {
[Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
} catch {}

$Repo = 'arslan-gg/amcli'
$Repo = 'arslanr-com/amcli'
$Base = "https://github.com/$Repo"

function Say([string]$m) { [Console]::Error.WriteLine($m) }
Expand Down
4 changes: 2 additions & 2 deletions skills/amcli/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#
# What it trusts, this being a script that downloads a binary and runs it:
#
# - One host, written into the script: https://github.com/arslan-gg/amcli.
# - One host, written into the script: https://github.com/arslanr-com/amcli.
# No variable can point it elsewhere. AMCLI_VERSION selects a tag and is
# checked to be one, so it cannot climb out of the URL path.
# - HTTPS for every request, redirects included.
Expand All @@ -41,7 +41,7 @@

set -eu

REPO=arslan-gg/amcli
REPO=arslanr-com/amcli
BASE=https://github.com/$REPO
DIR=${AMCLI_INSTALL_DIR:-${HOME:-.}/.local/bin}

Expand Down
Loading