buyer-eval
- Repo stars 0
- Author repo buyer-eval-skill
Preamble (run first, every time)
# Detect skill directory
_BEVAL_DIR=""
for _D in "$HOME/.claude/skills/buyer-eval-skill" ".claude/skills/buyer-eval-skill"; do
[ -d "$_D" ] && _BEVAL_DIR="$_D" && break
done
if [ -z "$_BEVAL_DIR" ]; then
echo "ERROR: buyer-eval-skill not found. Install: git clone https://github.com/salespeak-ai/buyer-eval-skill ~/.claude/skills/buyer-eval-skill"
exit 1
fi
# Check for updates
_UPD=$("$_BEVAL_DIR/bin/update-check" 2>/dev/null || true)
[ -n "$_UPD" ] && echo "$_UPD" || echo "UP_TO_DATE $(cat "$_BEVAL_DIR/VERSION" 2>/dev/null | tr -d '[:space:]')"
If output shows UPGRADE_AVAILABLE <old> <new>:
Use AskUserQuestion to ask the buyer:
- Question: "A newer version of the buyer evaluation skill is available (v{old} → v{new}). Update now?"
- Options: ["Yes, update now", "Not now — continue with current version"]
If "Yes, update now":
_BEVAL_DIR=""
for _D in "$HOME/.claude/skills/buyer-eval-skill" ".claude/skills/buyer-eval-skill"; do
[ -d "$_D" ] && _BEVAL_DIR="$_D" && break
done
if [ -d "$_BEVAL_DIR/.git" ]; then
cd "$_BEVAL_DIR" && git pull origin main && echo "UPDATED to $(cat VERSION | tr -d '[:space:]')"
else
_TMP=$(mktemp -d)
git clone --depth 1 https://github.com/salespeak-ai/buyer-eval-skill.git "$_TMP/buyer-eval-skill"
mv "$_BEVAL_DIR" "$_BEVAL_DIR.bak"
mv "$_TMP/buyer-eval-skill" "$_BEVAL_DIR"
rm -rf "$_BEVAL_DIR.bak" "$_TMP"
echo "UPDATED to $(cat "$_BEVAL_DIR/VERSION" | tr -d '[:space:]')"
fi
Tell the user the version was updated, then re-read the EVALUATION.md file from the updated directory and proceed with the skill.
If "Not now": Continue with the current version.
If output shows UP_TO_DATE: Continue silently.
Load the evaluation skill
After the preamble, read the full evaluation methodology:
_BEVAL_DIR=""
for _D in "$HOME/.claude/skills/buyer-eval-skill" ".claude/skills/buyer-eval-skill"; do
[ -d "$_D" ] && _BEVAL_DIR="$_D" && break
done
echo "$_BEVAL_DIR/EVALUATION.md"
Read the file at the path printed above using the Read tool. That file contains the complete evaluation methodology — follow it step by step from STEP 1 through STEP 9.
- Fluxly category
- Other
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 92 / 100 · heuristic scan, not runtime safety proof
- Author / version / license
- @Zorineinsupportable217 · v3.2.0 · no license declared
- Fluxly token estimate
- Lean
- Fluxly setup estimate
- Plug-and-play
- External API key
- No requirement detected
- Detected OS requirements
- Unspecified
- Runtime requirements
- Unspecified
- Detected file/system behavior
-
- Read-only
- Write / modify
- Detected network behavior
- Local-only
- Install commands
- None (reference only)
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
The current SKILL.md does not define a fixed output example. If output shows UPGRADEAVAILABLE <old> <new>: Use AskUserQuestion to ask the buyer: Question: "A newer version of the buyer evaluation skill is available (v{old} → v{new}). Update now?"
After the preamble, read the full evaluation methodology: Read the file at the path printed above using the Read tool. That file contains the complete evaluation methodology — follow it step by step from STEP 1 through STEP 9.
## Preamble (run first, every time)
```bash
# Detect skill directory
_BEVAL_DIR=""
for _D in "$HOME/.claude/skills/buyer-eval-skill" ".claude/skills/buyer-eval-skill"; do
[ -d "$_D" ] && _BEVAL_DIR="$_D" && break
done
if [ -z "$_BEVAL_DIR" ]; then
echo "ERROR: buyer-eval-skill not found. Install: git clone https://github.com/salespeak-ai/buyer-eval-skill ~/.claude/skills/buyer-eval-skill"
exit 1
fi
# Check for updates
_UPD=$("$_BEVAL_DIR/bin/update-check" 2>/dev/null || true)
[ -n "$_UPD" ] && echo "$_UPD" || echo "UP_TO_DATE $(cat "$_BEVAL_DIR/VERSION" 2>/dev/null | tr -d '[:space:]')"
```
**If output shows `UPGRADE_AVAILABLE <old> <new>`:**
Use AskUserQuestion to ask the buyer:
- Question: "A newer version of the buyer evaluation skill is available (v{old} → v{new}). Update now?"
- Options: ["Yes, update now", "Not now — continue with current version"]
**If "Yes, update now":**
```bash
_BEVAL_DIR=""
for _D in "$HOME/.claude/skills/buyer-eval-skill" ".claude/skills/buyer-eval-skill"; do
[ -d "$_D" ] && _BEVAL_DIR="$_D" && break
done
if [ -d "$_BEVAL_DIR/.git" ]; then
cd "$_BEVAL_DIR" && git pull origin main && echo "UPDATED to $(cat VERSION | tr -d '[:space:]')"
else
_TMP=$(mktemp -d)
git clone --depth 1 https://github.com/salespeak-ai/buyer-eval-skill.git "$_TMP/buyer-eval-skill"
mv "$_BEVAL_DIR" "$_BEVAL_DIR.bak"
mv "$_TMP/buyer-eval-skill" "$_BEVAL_DIR"
rm -rf "$_BEVAL_DIR.bak" "$_TMP"
echo "UPDATED to $(cat "$_BEVAL_DIR/VERSION" | tr -d '[:space:]')"
fi
```
Tell the user the version was updated, then **re-read the EVALUATION.md file** from the updated directory and proceed with the skill.
**If "Not now":** Continue with the current version.
**If output shows `UP_TO_DATE`:** Continue silently.
---
## Load the evaluation skill
… Author text anchors workflow facts; Fluxly only indexes current sections, terms, files, and commands.
sections -> Preamble (run first, every time) → Load the evaluation skill
terms -> If output shows UPGRADEAVAILABLE <old> <new> · If "Yes, update now" · re-read the EVALUATION.md file · If "Not now" · If output shows UPTODATE
files/cmd -> UPGRADEAVAILABLE <old> <new> · UPTODATE · HOME/.claude/skills/buyer-eval-skill · .claude/skills/buyer-eval-skill · github.com/salespeak-ai/buyer-eval-skill · BEVALDIR/bin/update-check · dev/null · BEVALDIR/VERSION
body sha256 -> 2e90436132e1
Decide Fit First
Design Intent
How To Use It
Boundaries And Review