Logo Aap Automation

Aap Automation

Cộng đồng
automateyournetwork
aap-automation

Red Hat Ansible Automation Platform — inventory management, job template execution, project SCM sync, ad-hoc commands, host management, Galaxy content discovery. Use when automating infrastructure with Ansible, running playbooks, managing inventories, or searching for Ansible collections and roles.

Tổng quan

Nhà phát hànhautomateyournetwork
Kho mãnetclaw
Tên kỹ năngaap-automation
Sao
680
Bản fork
189
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được automateyournetwork 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 Aap Automation 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/automateyournetwork/netclaw/tree/main/workspace/skills/aap-automation
  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/automateyournetwork/netclaw.git /tmp/netclaw
mkdir -p .claude/skills
cp -r /tmp/netclaw/workspace/skills/aap-automation .claude/skills/aap-automation
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 Aap Automation 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 Aap Automation 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 Aap Automation 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.

Ansible Automation Platform Operations

MCP Server

  • Repository: sibilleb/AAP-Enterprise-MCP-Server
  • Transport: stdio (Python via uv run ansible.py)
  • Install: git clone + uv sync (or pip install -e .)
  • Requires: AAP_URL, AAP_TOKEN

Available Tools (45)

Inventory & Host Management (11)

ToolWhat It Does
list_inventoriesRetrieve all inventories from AAP
get_inventoryFetch details for a specific inventory by ID
create_inventoryCreate a new inventory with organization and configuration
delete_inventoryRemove an inventory from the platform
list_hostsList all hosts within a specific inventory
get_host_detailsGet comprehensive information about a host
get_host_factsObtain gathered facts for a host
add_host_to_inventoryAdd a new host with optional variables
update_hostModify host properties including variables and status
delete_hostRemove a host from inventory
get_failed_hostsList hosts with active failures

Group Management (6)

ToolWhat It Does
list_groupsShow all groups in an inventory
get_group_detailsRetrieve group information
create_groupCreate a new group within an inventory
add_host_to_groupAssociate a host with a group
remove_host_from_groupDisassociate a host from a group
get_host_groupsList all groups containing a host

Job & Template Management (8)

ToolWhat It Does
list_job_templatesList all available job templates
get_job_templateGet details for a specific job template
create_job_templateCreate a new job template with playbook configuration
run_jobExecute a job template with optional extra variables
list_jobsShow all jobs in the platform
list_recent_jobsFilter jobs by timeframe
job_statusCheck current status of a job
job_logsRetrieve execution logs for a job

Project Management (7)

ToolWhat It Does
list_projectsList all projects
get_projectGet project details
create_projectCreate a project with SCM configuration
update_projectTrigger an SCM sync
list_project_updatesShow all project update jobs
get_project_updateGet status of an update job
get_project_update_logsRetrieve logs from an SCM sync

Inventory Sources (6)

ToolWhat It Does
list_inventory_sourcesShow all dynamic inventory sources
get_inventory_sourceGet details for a specific source
create_inventory_sourceCreate a dynamic inventory source
update_inventory_sourceModify an existing source
delete_inventory_sourceRemove an inventory source
sync_inventory_sourceTrigger a manual sync

Ad-Hoc Commands (3)

ToolWhat It Does
run_adhoc_commandExecute Ansible commands directly against hosts
get_adhoc_command_statusCheck execution status
get_adhoc_command_outputRetrieve command output

Galaxy Search (4)

ToolWhat It Does
search_galaxy_collectionsSearch Ansible Galaxy for collections
search_galaxy_rolesSearch Galaxy for roles
get_collection_detailsGet comprehensive collection info
get_role_detailsGet detailed role info

Key Concepts

ConceptWhat It Means
AAPAnsible Automation Platform — Red Hat's enterprise automation controller
InventoryCollection of managed hosts organized by groups
Job TemplateReusable playbook execution definition with parameters
ProjectSCM-backed collection of Ansible playbooks
Ad-Hoc CommandOne-off Ansible module execution against hosts
Inventory SourceDynamic inventory pulled from cloud/CMDB/external systems

Workflow: Run a Playbook Against Inventory

  1. List inventories: list_inventories — find the target inventory
  2. List hosts: list_hosts — verify target hosts are present
  3. Find template: list_job_templates — locate the playbook to run
  4. Execute: run_job — launch the job template with extra vars if needed
  5. Monitor: job_status — poll until completion
  6. Review: job_logs — check execution output
  7. Report: Summarize success/failure per host

Workflow: Inventory Audit

  1. List inventories: list_inventories — enumerate all inventories
  2. For each inventory: list_hosts — count and list hosts
  3. Check failures: get_failed_hosts — identify hosts with active failures
  4. Get facts: get_host_facts — verify host data is current
  5. Cross-reference: Compare with NetBox or Nautobot source of truth
  6. Report: Inventory coverage, stale hosts, failed hosts

Workflow: Project SCM Sync

  1. List projects: list_projects — find the project
  2. Sync: update_project — trigger SCM pull
  3. Monitor: get_project_update — check sync status
  4. Review logs: get_project_update_logs — verify no errors
  5. Report: Sync success/failure, last commit pulled

Integration with Other Skills

SkillHow They Work Together
aap-edaAAP job execution + EDA event-driven triggers
aap-lintValidate playbooks before running them through AAP
netbox-reconcileCross-reference AAP inventories with NetBox DCIM
nautobot-sotAAP inventory validation against Nautobot IPAM
servicenow-change-workflowServiceNow CR gating before AAP job execution
github-opsCommit playbooks and inventory changes to Git
pyats-health-checkDevice health verification before/after AAP automation
gait-session-trackingAudit trail for all AAP operations

Environment Variables

  • AAP_URL — AAP Controller API endpoint (e.g., https://aap.example.com/api/controller/v2)
  • AAP_TOKEN — AAP API token (Write scope)

Important Rules

  • Job execution changes infrastructure — always verify the target inventory and template before running
  • ServiceNow CR — gate job execution behind change requests in production
  • Record in GAIT — log all AAP operations for audit trail
  • SSL handling — self-signed certificates are automatically handled for lab environments

Failure Behavior

  • If a tool call fails with an authentication or connection error, check that AAP_TOKEN, AAP_URL are set and valid before assuming a data or device problem.
  • On a tool error (timeout, unreachable host, malformed response), report the failure and its error message directly to the user rather than fabricating or guessing at results.
  • Do not automatically retry a write/mutating operation after a failure — surface the error and get explicit confirmation before retrying, since a blind retry on a partially-applied change can leave state inconsistent.

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

Kỹ năng AI Aap Automation làm được gì?

Red Hat Ansible Automation Platform — inventory management, job template execution, project SCM sync, ad-hoc commands, host management, Galaxy content discovery. Use when automating infrastructure with Ansible, running playbooks, managing inventories, or searching for Ansible collections and roles.

Vì sao nên dùng Aap Automation 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. Aap Automation 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 Aap Automation trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/aap-automation. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Aap Automation?

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 Aap Automation 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 Aap Automation 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 Aap Automation có miễn phí không?

Có. Kỹ năng này được automateyournetwork phát hành trên GitHub theo giấy phép Apache-2.0. 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 👇