agentleFS
bilibossbiliboss/skills/skills/interview/SKILL.md

interview

Skill1 starsChanged 25 days agoMITView on GitHub

Ask the user structured questions in a rich interactive form (pi-interview) in one browser, Orca or native macOS window shared by every call. Single and multi choice with recommendations, free text, image upload, and context panels with code, diffs, Markdown, tables, Mermaid and charts. Forms queue up in that window and the answers come back to each caller. Marked answers are never lost when time runs out. Use for grilling rounds, requirements gathering, design tradeoffs, or any batch of decisions that needs more context than AskUserQuestion can show. Use whenever the user asks to be grilled or interviewed, or says "interview", "pi-interview", "form".

111 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use contributor, evidence-recap and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • lavine888Skill

    contributor

    Career Alpha 开源贡献入口。用于根据目标岗位和职业 wedge 寻找与能力方向匹配、可以真实完成并留下可验证记录的开源贡献;当用户缺少真实协作经历、希望通过 GitHub PR 建立证据、想进入某个技术生态、或希望用外部 review 替代又一个自建 demo 时使用。

    Also in 4 projects that use this

  • Hisn00wSkill

    evidence-recap

    把 AI 编程对话和项目交付材料复盘为可核验的九段证据链,区分问题、决策、个人动作、交付阶段、效果证据与责任边界。当用户运行 /evidence-recap、$evidence-recap,或明确要求复盘 AI 编程过程、交付记录、落地状态和证据缺口时使用;仅需简历改写、源码导学或模拟面试时不使用。

    Also in 3 projects that use this

  • Hisn00wSkill

    great-resume

    中文求职经历提升技能:根据目标岗位把真实经历重组为岗位定位、简历要点、项目亮点和 HR 开场白;当用户输入“/great-resume”“我要酥化”或“简历提升”、要求包装或改写经历、项目,或写 HR 自我介绍时使用。若用户明确要求“阿酥同款”、复刻简历模板或生成对应 HTML/PDF,则交给 /make-resume。

    Also in 3 projects that use this

  • Rehan-Ul-HaqSkill

    fetch-library-docs

    Fetches official documentation for external libraries and frameworks (React, Next.js, Prisma, FastAPI, Express, Tailwind, MongoDB, etc.) with 60-90% token savings via content-type filtering. Use this skill when implementing features using library APIs, debugging library-specific errors, troubleshooting configuration issues, installing or setting up frameworks, integrating third-party packages, upgrading between library versions, or looking up correct API patterns and best practices. Triggers automatically during coding work - fetch docs before writing library code to get correct patterns, not after guessing wrong.

    Also in 4 projects that use this

  • liuqi1024Skill

    project-guide

    Guide a software project through staged engineering delivery from business discovery to architecture, technology selection, detailed requirements, API/database design, integration testing, performance testing, and release readiness. Use when a user wants project lifecycle guidance, staged delivery governance, engineering process coaching, or wants an agent to decide what project artifact or review gate should come next.

    Also in 3 projects that use this

  • igoroliveirgSkill

    offer

    Builds irresistible offers by structuring price, bonuses, guarantee, deadline, and value stack. Activate when the user asks for an offer, commercial proposal, value stack, pricing, bundle, package, guarantee, or any sales structure that needs to feel like an obvious deal.

    Also in 4 projects that use this

  • +1 more from Hisn00w

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 94 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    In the dev-console: When the dev-console answers on http://127.0.0.1:5057/ (setting console), it is the window: if its window already shows …

    line 17
  2. Distinctive:

    Write the questions to a JSON file in your scratchpad directory (format below).

    line 24
  3. Very specific:

    Start the form with the Bash tool and run_in_background: true, always:

    line 25
  4. Very specific:

    Every change is saved to the server as a draft, in a recovery file: ~/.pi/interview-recovery/<date>_<title>_<id>.draft.json.

    line 41

“Common” is measured: kept by at least 6 in 10 of the 94 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Interview (pi-interview for Claude Code)

interview.ts runs the form from the pi-interview package (vendored in vendor/package, v0.14.0, MIT, by Nico Bailon; see ATTRIBUTION.md) without pi. You write a questions JSON, start the form in the background, and the answers come back on stdout when the user submits.

One window, a queue

The first call starts a long-lived queue server on a fixed port (8398, or port in settings.json) and opens one window. Every later call, from any session, sees the server up, puts its form in the queue (no new window) and waits for its own answer. The window shows the form of the moment and how many wait; after each submit it moves to the next by itself. If the window was closed, the next call reopens it (one window). The server exits by itself after 30 minutes with no forms; logs go to ~/.pi/interview-queue.log.

In the dev-console. When the dev-console answers on http://127.0.0.1:5057/ (setting console), it is the window: if its window already shows the queue (devc now --json is /browser?url=http://127.0.0.1:8398…) nothing opens and the queue's page moves on to the next form by itself; else devc browse http://127.0.0.1:8398/ opens the queue in its Browser module. With the console down, or no devc, the window opens as always: the skill works on its own.

Run it

  1. Write the questions to a JSON file in your scratchpad directory (format below).
  2. Start the form with the Bash tool and run_in_background: true, always:

    node <skill-dir>/interview.ts /abs/path/questions.json

    <skill-dir> is this skill's folder. Never run it in the foreground: the owner may take longer than the Bash timeout, and other forms may be ahead of yours in the queue.

  3. Tell the user in one line that the form is open (stderr has the address and your queue position), then end your turn. Do not poll. When the process exits you are notified; read its output.
  4. Exit codes: 0 completed, 2 cancelled or skipped (partial answers, if any, are printed), 3 timed out, 1 error (message on stderr), 130 aborted.

Flags: --timeout <seconds> (default 1800, counted from when your form is on screen and reset by every change), --launcher browser|orca|glimpse, --no-open (queue the form without opening a window, e.g. over SSH).

Defaults live in settings.json next to this file (falls back to pi's ~/.pi/agent/settings.json under interview): launcher, browser, timeout, port, theme ({ "name": "default"|"tufte", "mode": "dark"|"light"|"auto" }), snapshotDir, autoSaveOnSubmit, glimpseFloating, console (the dev-console's URL, default http://127.0.0.1:5057/; false never uses it; INTERVIEW_CONSOLE_URL wins). Without a launcher it opens a native window if glimpseui is installed globally, else the default browser.

Never lose answers

  • Every change is saved to the server as a draft, in a recovery file: ~/.pi/interview-recovery/<date>_<title>_<id>.draft.json. Closing the window does not cancel the form; reopen the window and it picks up where it was.
  • When the timeout runs out, the form is not closed. It stays answerable in the window (it moves behind the other forms if some wait). Your process exits with code 3 and prints what was marked so far plus the recovery file path. If the owner answers later, the file is updated with the final answers and "status": "answered-late".
  • On code 3, use the printed answers, say that the form is still open, and read the recovery file again later if the answers matter.
  • To reopen a form pre-filled, pass a recovery file, or a saved snapshot's index.html (from ~/.pi/interview-snapshots/), instead of the JSON.

Questions JSON

{
  "title": "Plano do worker de backups",
  "description": "Revise minhas recomendações e ajuste o que precisar.",
  "questions": [
    {
      "id": "storage",
      "type": "single",
      "question": "Onde guardar os backups?",
      "options": ["R2", "S3", "Disco da VPS"],
      "recommended": "R2",
      "context": "R2 não cobra saída de dados.",
      "weight": "critical"
    },
    {
      "id": "targets",
      "type": "multi",
      "question": "O que entra no backup?",
      "options": ["Banco de dados", "Documentos", "Configurações"],
      "recommended": ["Banco de dados", "Documentos"]
    },
    {
      "id": "api",
      "type": "single",
      "question": "Qual forma de API?",
      "options": [
        { "label": "Callback", "content": { "source": "run(job, (err) => …)", "lang": "ts" } },
        { "label": "Promise", "content": { "source": "await run(job)", "lang": "ts" } }
      ],
      "recommended": "Promise",
      "conviction": "slight"
    },
    { "id": "notes", "type": "text", "question": "Alguma restrição que eu não vi?", "weight": "minor" },
    {
      "id": "arch",
      "type": "info",
      "question": "Como fica",
      "media": { "type": "mermaid", "mermaid": "graph LR\nCron-->Worker-->R2" }
    }
  ]
}
  • Types: single (radio), multi (checkbox), text (textarea), image (upload, paste, camera; answers are file paths you can Read), info (context only, no answer).
  • Options: strings, or { "label", "content"?: { "source", "lang"?, "file"?, "lines"?, "highlights"?, "title"?, "showSource"? } }. The user can always type "Other" and add a note to a choice.
  • recommended: always set it, with context saying why. It shows a Recommended badge and pre-selects. Every form arrives fully pre-filled with your recommendation, so the owner can submit it untouched: never "conviction": "slight" (it drops the pre-select and leaves the question open), and no text question without an answer (put "algo que eu não vi?" in the description, where his Other/note covers it). The owner's rule: an open field in a form is a decision handed back to him. "strong" when very sure.
  • weight: "critical" for key decisions, "minor" for low-stakes ones.
  • content on a question: code or Markdown shown above the options ("lang": "md" renders Markdown; "lang": "diff" for diffs).
  • media (one or a list): { "type": "image", "src", "alt", "caption" }, { "type": "table", "table": { "headers", "rows", "highlights" } }, { "type": "chart", "chart": { "type", "data", "options" } } (Chart.js), { "type": "mermaid", "mermaid": "…" }, { "type": "html", "html": "…" }; "position": "above"|"below"|"side".
  • With recommendations set, make description say "review my suggestions and adjust".

The answer

Stdout has a readable summary plus a JSON block: [{ "id", "question", "type", "value", "attachments"? }]. Choice values are { "option", "note"? } (a list for multi); text is a string; images are file paths. Unanswered questions are left out. If the user cancels or skips, proceed with your recommendations and say so.

Not wired (vs. pi)

The Generate more / Review options / Ask buttons call models through pi's registry, so they are off here. Async delivery is the background Bash notification.

Tests

bash <skill-dir>/test/run.sh starts a throwaway queue (own port, own HOME, a fake window opener) and checks: two forms at once open one window and each caller gets its own answer; a form with --timeout 5 exits 3 with the draft and the recovery file; the server exits when idle; and the launcher's three cases, with a fake console and a fake devc first on PATH (console down: the window; console showing the queue: nothing; console elsewhere: devc browse). Credits and the standalone use: README.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.