Loading...
Loading...
Assemble Chinese running-script calligraphy from original glyphs, look up character forms and sources, inspect radicals, and synthesize missing glyphs. Use for calligraphy composition, character images, or copybook references. Read this skill for exact CLI syntax before running commands.
npx skill4agent add mnhkahn/cyeam-cli calligraphy-compositionseal-script-ocrcyeam mo guwen "兰亭序" # Retrieve glyphs for text
cyeam mo guwen "兰亭序" --ai-compose # Synthesize missing glyphs only
cyeam mo char detail "之" # Original glyph candidates and sources
cyeam mo char composition "曦" # Radicals and components
cyeam mo char compose "曦" --out char.png # Force component-based synthesischar composecyeam mo char detail <char>cyeam mo guwen <text>guwen --ai-composechar composechar composechar detail "无"char compose "无"imagesource「无」 — 王羲之《临锺繇千字文》
char detailchar composeguwenchar detailchar compositionchar detailchar compose--out--ai-composecurltarinstallshasumsha256sum(
set -eu
version='v1.1.4'
case "$(uname -s)/$(uname -m)" in
Darwin/arm64)
asset='cyeam_Darwin_arm64.tar.gz'
sha256='06b5af004ab4f0f05d5829ea6bd18b97c4449c262af7df14c67175f7d3cb29db' ;;
Darwin/x86_64)
asset='cyeam_Darwin_x86_64.tar.gz'
sha256='107342bb9d2fa444b96155c468e71b8cc63e0f5ad0acc784698afe221548efa6' ;;
Linux/aarch64|Linux/arm64)
asset='cyeam_Linux_arm64.tar.gz'
sha256='ed87697f3948bead67b585e9881c3bef20e8d2d903beb5b125587281a5091c5b' ;;
Linux/x86_64)
asset='cyeam_Linux_x86_64.tar.gz'
sha256='873d6805fab8ab56540bb034aaf2f57f12eb672fcabd322ebe401e8250a5966d' ;;
*) echo 'Unsupported platform; see the pinned release.' >&2; exit 1 ;;
esac
workdir=$(mktemp -d)
trap 'rm -rf "$workdir"' EXIT
cd "$workdir"
curl --fail --show-error --silent --location --proto '=https' --proto-redir '=https' \
--output "$asset" "https://github.com/mnhkahn/cyeam-cli/releases/download/$version/$asset"
printf '%s %s\n' "$sha256" "$asset" > expected.sha256
if command -v sha256sum >/dev/null 2>&1; then
sha256sum -c expected.sha256
else
shasum -a 256 -c expected.sha256
fi
# set -e prevents extraction or installation if download or verification fails.
tar -xzf "$asset" cyeam
mkdir -p "$HOME/.local/bin"
install -m 0755 cyeam "$HOME/.local/bin/cyeam"
CYEAM_CLI_NO_UPDATE_NOTIFIER=1 "$HOME/.local/bin/cyeam" --no-analytics version
)~/.local/bin/cyeamexport PATH="$HOME/.local/bin:$PATH"cyeammo guwenmo char detail/composition/composehttps://www.cyeam.com/mo/api/*--outhttps://us.i.posthog.com~/.cyeam/analytics-id--no-analyticsCYEAM_CLI_NO_ANALYTICS=1~/.cyeam/update-state.jsonCYEAM_CLI_NO_UPDATE_NOTIFIER=1cyeam updatenpx skills addexport CYEAM_CLI_NO_ANALYTICS=1
export CYEAM_CLI_NO_UPDATE_NOTIFIER=1