# Perplexity Computer Adapter

Use this adapter when installing the TimeBack Ed-Fi 1EdTech skill into Perplexity Computer or another project-instruction host.

## Install

Download the hosted files into one folder with `SKILL.md` at the root:

```bash
export ED_FI_SKILL_PACK_URL="${ED_FI_SKILL_PACK_URL:-https://platform3-andymontgomery-9773s-projects.vercel.app/ed_fi/1edtech/skill_pack}"
export ED_FI_SKILL_DIR="${ED_FI_SKILL_DIR:-/tmp/timeback-ed-fi-1edtech}"
mkdir -p "$ED_FI_SKILL_DIR/agents" "$ED_FI_SKILL_DIR/references" "$ED_FI_SKILL_DIR/bin"

curl -fsSLL "$ED_FI_SKILL_PACK_URL/pack/SKILL.md" -o "$ED_FI_SKILL_DIR/SKILL.md"
curl -fsSLL "$ED_FI_SKILL_PACK_URL/pack/agents/perplexity-computer.md" -o "$ED_FI_SKILL_DIR/agents/perplexity-computer.md"
curl -fsSLL "$ED_FI_SKILL_PACK_URL/pack/agents/claude-code.md" -o "$ED_FI_SKILL_DIR/agents/claude-code.md"
curl -fsSLL "$ED_FI_SKILL_PACK_URL/pack/agents/codex-cli.md" -o "$ED_FI_SKILL_DIR/agents/codex-cli.md"
curl -fsSLL "$ED_FI_SKILL_PACK_URL/pack/bin/proof-replay.sh" -o "$ED_FI_SKILL_DIR/bin/proof-replay.sh"
chmod +x "$ED_FI_SKILL_DIR/bin/proof-replay.sh"

for file in source-contract worked-example app-build-protocol auth-and-headers leak-check; do
  curl -fsSLL "$ED_FI_SKILL_PACK_URL/pack/references/$file.md" -o "$ED_FI_SKILL_DIR/references/$file.md"
done

(cd "$ED_FI_SKILL_DIR" && zip -r /tmp/timeback-ed-fi-1edtech.zip SKILL.md agents references bin)
```

Upload either `SKILL.md` directly plus the reference files, or upload `/tmp/timeback-ed-fi-1edtech.zip` when the host supports bundled skills.

## Project Instruction

Tell the agent:

> Use the TimeBack Ed-Fi 1EdTech skill. Read `SKILL.md`, use the live API only, and run `bin/proof-replay.sh` against the demo tenant before delivering an app or report. Do not add local Ed-Fi schema, descriptor, roster reconciliation, idempotency, ETag, soft-delete, privacy, or Alpha renaming logic.

For real tenant work, provide `ED_FI_BASE_URL` and `ED_FI_TOKEN` through the host's secret mechanism. Do not paste tokens into visible instructions.
