원클릭으로
install-program
Use this skill to install a program on the user's computer.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use this skill to install a program on the user's computer.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | install-program |
| description | Use this skill to install a program on the user's computer. |
First, use the nixos MCP server's search capability to search for the package in nixpkgs.
If the package has multiple versions, query the information for each package and get back to the user so they can decide which package to use.
Some programs can be configured through home-manager. Use the MCP server to find out if the given package is supported by home-manager.
[pacakge-name].nix. Use this template:{
lib,
config,
pkgs,
...
}:
with lib; let
cfg = config.programs.configured.[package-name];
in {
options.programs.configured.[package-name] = {
enable = mkEnableOption "[DESCRIPTION]";
};
config = mkIf cfg.enable {
programs.[package-name-in-home-manager] = {
# Default config
};
};
}
If the package does not exist in nixpkgs, query Google for "[Package Name] nixos". Some bleeding edge packages can be added through flake inputs.
Educate the user on the risks and ask if they want to continue. If yes, add the flake input to @flake.nix and run nix flake update.
Then edit @nixpkgs.nix to add the package in the "Own Packages/Not in nixpkgs" category.
Run the command rebuild which is defined in the nix configuration to point to the correct command depending on system and hostname.
If it fails, fix the errors until it succeeds. Then ask the user to test the program and ask for feedback.