Logo Rfp Answer Bank

Rfp Answer Bank

Cộng đồng
ITSpecialist111
rfp-answer-bank

Manage the Contoso RFP answer bank — search, add/update, sync Loopio exports, merge reviewer corrections. This is the retrieval substrate that every other rfp-* skill depends on.

Tổng quan

Nhà phát hànhITSpecialist111
Kho mãCopilot-Cowork-Skills
Tên kỹ năngrfp-answer-bank
Sao
48
Bản fork
8
Tệp đi kèm
13
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 13 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được ITSpecialist111 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Rfp Answer Bank trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ITSpecialist111/Copilot-Cowork-Skills/tree/main/rfp-agent-swarm/skills/rfp-answer-bank
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ITSpecialist111/Copilot-Cowork-Skills.git /tmp/Copilot-Cowork-Skills
mkdir -p .claude/skills
cp -r /tmp/Copilot-Cowork-Skills/rfp-agent-swarm/skills/rfp-answer-bank .claude/skills/rfp-answer-bank
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Rfp Answer Bank trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Rfp Answer Bank ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Rfp Answer Bank với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

rfp-answer-bank

Shared Infrastructure Ownership

rfp-answer-bank is not just a sibling in the rfp-* chain — it also owns the shared infrastructure that every RFP skill depends on:

  1. The canonical audit log schema. Defined in references/audit-log-schema.md. Every sibling skill writes to output/rfp-<rfp_id>/audit-log.xlsx via the script this skill owns.
  2. The xlsx template. Described in assets/audit-log-template.md. The Excel built-in materializes the workbook from that spec on first write.
  3. The audit append script. scripts/append_audit.py is the sole writer to the audit log. All seven rfp-* skills invoke it; none write the xlsx directly.
  4. The audit dashboard renderer. scripts/render_audit_dashboard.py turns a JSON export of the log into a payload for the Adaptive Cards built-in — this is what answers "show me the RFP audit trail for RFP-XXXX".
  5. The canonical Event Type Catalogue. New event types must be added to references/audit-log-schema.md before any skill may emit them.

This means: if a sibling skill needs to record an event, it does not define its own log format — it uses the schema here.

Built-In Skills Used

Cowork built-inHow this skill uses it
ExcelAppends rows to audit-log.xlsx; exports AuditLog sheet as JSON for the dashboard; exports KB snapshots for analysts
Adaptive CardsRenders search-match cards, corrections-merge delta cards, and the shared RFP audit-trail dashboard
Enterprise SearchFallback retrieval across SharePoint when the answer bank returns LOW tier for a question
Deep ResearchInvoked for novel questions where no bank entry exists and a net-new, well-cited draft is needed (result is fed to rfp-respond, not written back to the bank unauthenticated)

1. Purpose

The answer bank is the single retrieval substrate for the RFP Agent Swarm POC. Every draft answer, fit-assessment match estimate, gate check, and reviewer correction routes through this skill. Loopio remains the system-of-record for approved Q&A, but Loopio alone cannot power a 15-agent parallel drafting swarm: it offers keyword search only, rate-limits aggressive pollers, and lacks a reranker score we can threshold on. The answer bank closes those gaps by projecting Loopio into Azure AI Search (semantic + vector + hybrid) and augmenting it with reviewer corrections.

This skill owns four operations against that substrate:

  1. Search — hybrid query with confidence tiering.
  2. CRUD — add, update, retire individual entries.
  3. Sync — ingest Loopio exports on a schedule.
  4. Merge — apply approved corrections from rfp-review.

Retrieval-first philosophy: never draft from the model's parametric memory when the bank contains a HIGH-tier match. The bank is deliberately the boring, conservative layer. New synthesis happens in rfp-respond and is always capped at MEDIUM tier.

2. When to Use (Triggers)

Invoke this skill when any of the following phrases appear, or when another skill programmatically calls it:

  • "search the answer bank"
  • "add to KB" / "add this to the answer bank"
  • "sync Loopio export" / "pull latest from Loopio"
  • "merge corrections into KB"
  • "answer bank match" (called by rfp-fit-assessment)
  • "update KB entry"
  • "retire this KB entry"
  • "search our RFP library"
  • Any retrieval call from rfp-respond per question
  • Any provenance lookup from rfp-assemble

3. Do NOT Use For

SituationCorrect skill
Classifying incoming RFPs into sections / questionsrfp-intake
Deciding whether to bid (go/no-go)rfp-fit-assessment
Drafting a net-new answer when the bank returns LOW tierrfp-respond
Checking a draft against approved certification / pricing listsrfp-gates
Human sign-off loop on draft answersrfp-review
Final document assembly / provenance renderingrfp-assemble
Storing buyer-specific tone or voice preferencesdeal-room
Legal redlining of contract clauseslegal-redliner

Do not use this skill as a general document search over policies, SOC 2 reports, or marketing collateral — the bank is scoped to discrete question/answer pairs with approval provenance.

4. Data Flow

 Loopio (system of record, keyword only)
    |
    |  manual XLSX export (POC) / scheduled Azure Function (future)
    v
 Azure Blob Storage (raw export landing zone)
    |
    |  indexer run (schema mapping, dedup, deprecation flagging)
    v
 Azure AI Search index (hybrid: BM25 + vector + semantic reranker)
    ^
    |  hybrid queries from 15 parallel agents
    |
 rfp-respond / rfp-fit-assessment / rfp-gates / rfp-assemble
    |
    |  drafts reviewed -> corrections.jsonl
    v
 rfp-review ---- export_corrections ----> merge_corrections.py
    |
    +--> updates/adds/retirements applied back into index
    +--> (future two-way sync) pushed back into Loopio

Key invariant: Loopio -> bank is one-way today. Corrections land in the bank first; two-way sync to Loopio is a deliberate Phase-2 scope item.

5. Workflow

5.1 Search

  1. Receive query (plus optional category, tags, top_k).
  2. Expand acronyms / synonyms (see references/hybrid-search-tuning.md).
  3. Issue hybrid query: BM25 + vector (embedding) + semantic reranker.
  4. Apply confidence tier (HIGH ≥0.9, MEDIUM 0.75–0.89, LOW <0.75).
  5. Exclude any entry with deprecated_flag=true.
  6. Return top_k with full provenance so rfp-respond and rfp-assemble can cite.

5.2 Add / Update / Retire

  • Add: validate required fields, generate entry_id (UUID4), set version=1.
  • Update: preserve old version in history, bump version, require approved_by.
  • Retire: set deprecated_flag=true and optionally populate replaces[] on the successor.
  • Hard delete is forbidden. Use retirement.

5.3 Sync Loopio Export

  1. Read exported CSV/XLSX-text-dump from Azure Blob (local file for POC).
  2. Map columns to schema; skip malformed rows with stderr log.
  3. Diff against current bank by source_loopio_entry_id.
  4. Apply adds / updates; mark rows missing from export as candidates for deprecation (manual confirm).
  5. Emit sync_report.json with counts and conflict list.

5.4 Merge Corrections

  1. Load corrections.jsonl produced by rfp-review.
  2. For each correction verify reviewer sign-off fields present.
  3. Apply the rule in references/corrections-merge-rules.md keyed on reason.
  4. Emit merge_report.json keyed by reason.
  5. Idempotent: replaying the same file applies no additional changes.

6. Confidence Tiers

TierReranker scorePolicy
HIGH>= 0.90Use verbatim with provenance; rfp-respond must not rewrite
MEDIUM0.75 – 0.89Use as draft seed; rfp-respond may light-edit; reviewer required
LOW< 0.75Do not quote; rfp-respond drafts fresh; capped at MEDIUM post-hoc
GENERATEDn/aAny content synthesized by rfp-respond is capped at MEDIUM regardless of self-eval

7. Schema Overview

See references/answer-bank-schema.md for the full spec. Quick view:

FieldTypeNotes
entry_idUUIDStable, bank-owned
question_textstringVerbatim prompt
canonical_questionstringNormalized for dedup
answer_textstringApproved response body
category / subcategoryenum / freeSee enums in schema doc
tagsstring[]Free-form; lowercased
sourceenumloopio_entry_id | internal_sme | correction
last_approved_dateISO dateGate for staleness
approved_byemailRequired for internal_sme and correction
versionintMonotonic per entry_id
deprecated_flagboolExcluded from search
replacesUUID[]Points to predecessors
certifications_referencedstring[]Cross-ref rfp-gates list
pricing_reference_idsstring[]Cross-ref pricing registry
evidence_attachmentsurl[]SharePoint / Blob links

8. Guardrails

  • Never fabricate an entry. If a question has no match, the answer is "no match" — not a hallucinated seed.
  • Never auto-merge a correction without reviewer sign-off. merge_corrections.py refuses records missing reviewed_by and reviewed_at.
  • Never return deprecated entries in search. Filter is applied server-side and re-asserted client-side in search_bank.py.
  • Never hard-delete. Use deprecated_flag=true and populate replaces[] on the successor to preserve audit trail.
  • Never allow unapproved source types. Allowed: loopio_entry_id, internal_sme, correction.
  • Never quote a LOW-tier result. The tier is advisory for callers; rfp-respond enforces the quoting rule.
  • Never write directly from a raw Loopio row. Rows must pass schema validation in sync_loopio_export.py.
  • Never let generated content claim HIGH. Tier is capped per the table in Section 6.
  • Never bypass the sign-off staleness guard. Corrections older than 90 days must be re-reviewed.
  • Never mutate a historical version. Corrections against an older version create a new current version.

Contract Boundaries

Upstream skillContract it honors
rfp-intakeEmits canonical question list; this skill receives those verbatim for retrieval
rfp-reviewEmits corrections.jsonl with sign-off metadata; this skill is the sole consumer
rfp-respondTreats tier as binding; does not rewrite HIGH-tier answers
rfp-gatesTreats certifications_referenced[] / pricing_reference_ids[] as authoritative cross-refs
rfp-assembleUses entry_id + version as provenance keys; this skill guarantees they are stable

9. Troubleshooting

SymptomLikely causeFix
All queries return LOW tierVector index not warm / reranker unavailableFall back to BM25-only path; escalate to platform-ops; do not draft from LOW
Sync report shows large deprecated_count spikeLoopio export truncated or filteredRe-export full set; do not apply the sync; compare row counts to Loopio dashboard
add_entry.py rejects with "missing approved_by"source=internal_sme without approverRequire SME sign-off email; re-run
Duplicate entries for same canonical_questionCanonicalization drift across syncsRun dedup pass; retire the older; populate replaces[]
Corrections apply once then duplicate on replayCorrection file lacks correction_id or idempotency keyRegenerate export from rfp-review with IDs; re-run merge
Search returns a retired entryCached client or filter skippedPurge local cache; verify deprecated_flag=true filter in request
Hybrid score much lower than BM25 aloneEmbedding model drift after reindexRe-embed corpus; confirm model version pinned
merge_corrections.py raises on TONE_OR_STYLETreated as KB change incorrectlyExpected NO-OP at bank level; log only; do not mutate entry
Two conflicting corrections on same entryRace between reviewersLast-writer-wins by reviewed_at; older correction surfaces in conflicts[]
sync_loopio_export.py silently drops rowsMalformed header or encodingInspect stderr log; re-export as UTF-8 CSV

10. Audit Log

rfp-answer-bank owns the shared audit log (see references/audit-log-schema.md). In addition to being the schema host, this skill itself emits the following event types into output/rfp-<rfp_id>/audit-log.xlsx:

Event TypeWhen emittedTypical before / after
BANK_SEARCHEDEvery hybrid-search call, whether from humans or other rfp-* skillsbefore=null, after={"top_k":5,"top_tier":"HIGH","top_confidence":0.92}
KB_ENTRY_ADDEDadd_entry.py creates a new entrybefore=null, after={"entry_id":"...","version":1}
KB_ENTRY_UPDATEDadd_entry.py bumps version or flips deprecated_flagbefore={"version":2}, after={"version":3}
LOOPIO_SYNC_COMPLETEDsync_loopio_export.py finishesafter={"added":N,"updated":M,"deprecated_candidates":K}
CORRECTIONS_MERGEDmerge_corrections.py finishes a batchafter={"applied":N,"no_ops":K,"conflicts":J}

All writes go through scripts/append_audit.py, which validates that these event types belong to rfp-answer-bank and stamps event_id + timestamp_utc. The file is created on first write by the Excel built-in per assets/audit-log-template.md.

See references/audit-log-schema.md for the full column list, integrity rules, and cross-skill Event Type Catalogue.

11. Adaptive Card Dashboard

This skill produces three kinds of Adaptive Cards via the Adaptive Cards built-in:

11.1 Search-match card (on every BANK_SEARCHED)

  • Header: the query text and the returned tier (HIGH / MEDIUM / LOW).
  • Body: top-N entries (default N=3), each with entry_id, short excerpt, category, confidence badge color-coded to tier.
  • Footer: a diff preview when the top match is a correction-augmented version of a prior Loopio entry, so the caller can see what changed vs. the system-of-record.

11.2 Corrections-merge delta card (on every CORRECTIONS_MERGED)

  • Header: source file + merge timestamp.
  • Body: counts of entries added / updated / retired, grouped by reason.
  • Footer: expected match-rate lift — the delta between the pre-merge and post-merge estimated HIGH-tier rate on the last replayed query set (cached from rfp-fit-assessment).

11.3 RFP audit-trail dashboard (on "show me the RFP audit trail for RFP-XXXX")

The renderer is scripts/render_audit_dashboard.py. Pipeline:

  1. The Excel built-in exports AuditLog from audit-log.xlsx as JSON.
  2. render_audit_dashboard.py --audit-json <path> --rfp-id RFP-XXXX emits the card payload.
  3. The Adaptive Cards built-in renders it.

Payload contents:

  • KPI row: total events, AI vs human split, last update time.
  • Timeline: events bucketed by hour.
  • Event-type distribution: donut, one slice per event type.
  • Actor distribution: donut (ai / human).
  • Event stream: the 25 most recent rows with skill, event_type, target, reason.

This is the single pane of glass any operator uses to understand what the swarm did to an RFP from first RFP_INTAKE_STARTED through RECORD_SET_PACKAGED.

12. Related Skills

RFP chain

rfp-answer-bank is the retrieval substrate and audit-log host for the chain:

  rfp-intake ──► rfp-fit-assessment ──► rfp-respond ──► rfp-gates ──► rfp-review ──► rfp-assemble
        │               │                   │               │              │               │
        └──────────┬────┴───────────────────┴───────────────┴──────────────┴───────────────┘
                   │ writes events to
                   ▼
              rfp-answer-bank
            (audit log + KB)
                   ▲
                   │ reads for match-rate (fit-assessment),
                   │ retrieval (respond), provenance (assemble)
                   │ corrections in (from review)
  • Feeds rfp-respond — per-question hybrid retrieval, tier-binding policy.
  • Read by rfp-fit-assessment — pre-bid coverage / match-rate estimate.
  • Receives corrections from rfp-review — the only sanctioned mutation path.
  • Supplies provenance to rfp-assemble — entry_id + version are stable keys.
  • Cross-refs rfp-gates — certifications_referenced[] / pricing_reference_ids[].
  • Bootstrapped by rfp-intake — first RFP_INTAKE_STARTED event creates the audit workbook.

Cowork built-ins leveraged

  • Excel — appends audit-log rows; exports AuditLog as JSON for the dashboard; exports KB snapshots for analysts.
  • Adaptive Cards — renders search-match cards, corrections-merge delta cards, and the RFP audit-trail dashboard.
  • Enterprise Search — fallback retrieval across SharePoint when the bank returns LOW tier.
  • Deep Research — novel-question fallback when no bank entry exists; output feeds rfp-respond (never written back to the bank without reviewer sign-off).

Adjacent (non-chain) skills

Cross-links

  • Audit log schema: references/audit-log-schema.md
  • Audit log template: assets/audit-log-template.md
  • Answer-bank schema: references/answer-bank-schema.md
  • Hybrid search tuning: references/hybrid-search-tuning.md
  • Loopio sync playbook: references/loopio-sync-playbook.md
  • Correction merge rules: references/corrections-merge-rules.md
  • SME entry template: assets/kb-entry-template.md
  • Scripts: scripts/search_bank.py, scripts/add_entry.py, scripts/sync_loopio_export.py, scripts/merge_corrections.py, scripts/append_audit.py, scripts/render_audit_dashboard.py

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Rfp Answer Bank làm được gì?

Manage the Contoso RFP answer bank — search, add/update, sync Loopio exports, merge reviewer corrections. This is the retrieval substrate that every other rfp-* skill depends on.

Vì sao nên dùng Rfp Answer Bank trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Rfp Answer Bank là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Rfp Answer Bank trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ITSpecialist111/Copilot-Cowork-Skills/tree/main/rfp-agent-swarm/skills/rfp-answer-bank. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Rfp Answer Bank?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Rfp Answer Bank với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Rfp Answer Bank với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Rfp Answer Bank có miễn phí không?

Có. Kỹ năng này được ITSpecialist111 phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇