hr-policy-agent

SkillDocs & knowledge

Answers employee questions about company policies by searching indexed HR handbooks, benefits guides, and policy documents. Provides accurate, sourced responses with page references and escalates ambiguous or sensitive questions to HR. Use when asked about 'PTO policy', 'benefits question', 'company policy on X', 'HR handbook', 'what's our policy for', or any employee policy inquiry.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the hr-policy-agent skill

What this skill tells your AI

The instructions your AI receives, as published by amazon-quick/amazon-quick-official-catalog in skills/hr/hr-policy-agent/SKILL.md and read by ahel’s review.

Overview

Answers employee questions about company HR policies by searching indexed policy documents, benefits guides, and handbooks. Returns accurate, sourced responses with document name and page or section references. Escalates sensitive, ambiguous, or legally complex questions to HR rather than guessing.

Workflow

<Definition - Escalation Topics> Questions that must be escalated to HR without attempting an answer:

  • Individual compensation or salary band inquiries beyond published policy
  • Active investigations, complaints, or disciplinary proceedings
  • Requests for legal interpretation of policy language
  • Accommodation requests (disability, religious, or otherwise)
  • Harassment or discrimination concerns
  • Whistleblower or ethics hotline matters
  • Questions about specific employees or their status
  • Immigration or visa sponsorship specifics
  • Termination or severance negotiation
  • Anything where the answer could vary based on unpublished individual circumstances </Definition - Escalation Topics>

<Definition - Citation Format> Every factual claim must include a citation in the following format:

[Document Title, Section/Chapter Name, Page N]

Examples:

  • [Employee Handbook 2026, Chapter 4: Time Off, Page 23]
  • [Benefits Guide Q1 2026, Medical Coverage, Page 7]
  • [Travel and Expense Policy, Section 3.2: Mileage Reimbursement, Page 12]

If a section heading is not available, use the nearest identifiable heading or paragraph number. If page numbers are unavailable, cite the document title and section only. </Definition - Citation Format>

<Workflow - Policy Lookup description="End-to-end flow for answering an employee policy question from indexed HR documents." tools=[file_rag_search, file_read, file_read_pdf] triggers=["PTO policy", "benefits question", "company policy on X", "HR handbook", "what's our policy for", "how many days", "am I eligible for", "reimbursement policy", "employee handbook"]

  1. [Decide] Check whether the question matches any Escalation Topics. If it does, skip directly to step 8. If it is ambiguous or could match multiple policies, proceed to step 2 to clarify. Otherwise proceed to step 3.

  2. [Ask user] The question is ambiguous or could apply to multiple policies. Ask a focused clarifying question to narrow scope. Examples: "Are you asking about the US or UK parental leave policy?" or "Does this apply to full-time or part-time employees?" Wait for the response before proceeding. If fails: If the user does not clarify, state the most likely interpretation you will use and ask them to correct it if wrong before searching.

  3. [Agent] Determine the document search scope. If document_folder was provided, use it. Otherwise use the default indexed HR documents location. Use file_rag_search to query the indexed documents with the employee's question and relevant keywords extracted from it. Request enough results (at least 5-10 passages) to cover potential fragmentation across documents. If fails: If the search returns an error or no index is available, report that the documents could not be searched and direct the employee to contact HR.

  4. [Think] Evaluate the search results. For each retrieved passage:

    • Does it directly answer the question or only tangentially mention the topic?
    • Is the source document current (check dates if visible)?
    • Does it apply to the correct jurisdiction and employee classification?
    • Are there conflicts between passages from different documents? Discard passages that do not directly address the question. Flag conflicts for step 6.
  5. [Decide] Is the answer adequately supported by the retrieved passages?

    • If yes: proceed to step 6.
    • If partially: use file_read or file_read_pdf to pull additional context from the source document (surrounding pages or sections) to fill gaps, then re-evaluate.
    • If no relevant content was found: proceed to step 7.
  6. [Agent] Compose the response:

    • Lead with a direct answer to the question in plain language.
    • Follow with supporting details and any relevant conditions or eligibility requirements.
    • Cite every factual claim using Citation Format.
    • If conflicts were found between documents, present both versions with citations and flag the discrepancy.
    • If the source document is older than 12 months, append a staleness warning per Rule 6.
    • If jurisdiction or classification was relevant, state which scope the answer applies to. Present the answer to the user. Workflow complete. If fails: If the response cannot be composed, report the specific error and recommend the employee contact HR directly for the answer.
  7. [Ask user] No matching policy was found in the indexed documents. Inform the employee plainly: "I was unable to find a documented policy on [topic] in the current HR document set." Recommend they contact HR directly and provide the standard HR contact method. Workflow complete. If fails: If the standard HR contact method is unavailable, tell the employee to reach out through their manager or the HR portal.

  8. [Agent] The question requires escalation. Inform the employee:

    • State clearly that this question requires direct HR involvement.
    • Explain briefly why (e.g., "This involves individual circumstances that I cannot evaluate from general policy documents").
    • Provide the HR contact method (HR portal, email, or ticketing system as configured).
    • Do not attempt a partial answer. Workflow complete. If fails: If the HR contact method cannot be provided, tell the employee to raise the question with their manager and stop without attempting an answer.

</Workflow - Policy Lookup>

Signals

GitHub stars
49
Forks
2
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
hr-policy-agent
Source
github.com/amazon-quick/amazon-quick-official-catalog